Mail setting for snitz3406 needed - نوشته شده در (3036 Views)
Starting Member
Nijii
مطلب: 49
49
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?
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Forum Admin
HuwR
مطلب: 20611
20611
نوشته شده در
Forum Admin
HuwR
مطلب: 20611
20611
also, which email component does your forum currently use ?
نوشته شده در
Starting Member
Nijii
مطلب: 49
49
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.
نوشته شده در
Forum Admin
HuwR
مطلب: 20611
20611
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
نوشته شده در
Starting Member
Nijii
مطلب: 49
49
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 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
----------------------
نوشته شده در
Forum Admin
HuwR
مطلب: 20611
20611
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
نوشته شده در
Starting Member
Nijii
مطلب: 49
49
Thanks a lot. It worked.
نوشته شده در
Forum Admin
HuwR
مطلب: 20611
20611
 
شما باید یک متن وارد کنید