Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Mail Configuration
 Mail setting for snitz3406 needed
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Nijii
Starting Member

Greenland
49 Posts

Posted - 04 January 2019 :  20:09:24  Show Profile  Visit Nijii's Homepage  Reply with Quote
I have got a new service provider and they are using ASTP, Authentication and server port 587.

I need help to get the mail on my forum work again. Any hints?

HuwR
Forum Admin

United Kingdom
20577 Posts

Posted - 05 January 2019 :  10:33:38  Show Profile  Visit HuwR's Homepage  Reply with Quote
what is ASTP ?

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20577 Posts

Posted - 05 January 2019 :  10:40:02  Show Profile  Visit HuwR's Homepage  Reply with Quote
also, which email component does your forum currently use ?

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

Nijii
Starting Member

Greenland
49 Posts

Posted - 05 January 2019 :  13:59:52  Show Profile  Visit Nijii's Homepage  Reply with Quote
Sorry I meant to write ASMTP.
I am was using ASPEmail before.
The out going mail should be set as: asmtp.xxxxxx.xx

There is no error message but mails are not being sent.


Edited by - Nijii on 05 January 2019 14:01:51
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20577 Posts

Posted - 05 January 2019 :  14:08:35  Show Profile  Visit HuwR's Homepage  Reply with Quote
You will need to edit inc_mail.asp look for the AspEmail section and add the required port/user/password etc, follow the example here http://www.aspemail.com/manual_05.html


MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

Nijii
Starting Member

Greenland
49 Posts

Posted - 05 January 2019 :  14:55:45  Show Profile  Visit Nijii's Homepage  Reply with Quote
[quote]You will need to edit inc_mail.asp look for the AspEmail section and add the required port/user/password etc, follow the example here http://www.aspemail.com/manual_05.html
[/quote=Originally posted by HuwR]

I edited the code like this and added the user name, password nd port but it did not work. Where am I making the mistake?
-----------
case "aspemail"
Set objNewMail = Server.CreateObject("Persits.MailSender")
objNewMail.FromName = strFromName
objNewMail.From = strSender
objNewMail.AddReplyTo strSender
objNewMail.Host = strMailServer
objNewMail.AddAddress strRecipients, strRecipientsName
objNewMail.Subject = strSubject
objNewMail.Body = strMessage
on error resume next '## Ignore Errors
Mail.Username = "xxxxxxxxxxxxxx"
Mail.Password = "xxxxxxxxxxx"
Mail.TLS = True
Mail.Port = 993
objNewMail.Send
If Err <> 0 Then
Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>"
End if
----------------------
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20577 Posts

Posted - 05 January 2019 :  16:17:42  Show Profile  Visit HuwR's Homepage  Reply with Quote
Mail.Username = "xxxxxxxxxxxxxx"
Mail.Password = "xxxxxxxxxxx"
Mail.TLS = True
Mail.Port = 993

should objNewMail not Mail

objNewMail.Username = "xxxxxxxxxxxxxx"
objNewMail.Password = "xxxxxxxxxxx"
objNewMail.TLS = True
objNewMail.Port = 587

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

Nijii
Starting Member

Greenland
49 Posts

Posted - 05 January 2019 :  16:39:19  Show Profile  Visit Nijii's Homepage  Reply with Quote
Thanks a lot. It worked.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20577 Posts

Posted - 05 January 2019 :  18:23:26  Show Profile  Visit HuwR's Homepage  Reply with Quote
glad to be of help

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.07