Hi I'm running windows 2003 SBS server but not running MS exxhange. I configured my mail settings through Snitz to send directly to the smtp.mail.yahoo.com but when sending mail, no error msg appears. No mail delivery failure happens. But the mail does not yahoo, doesn't go anywere. I checked the inc_mail.asp but can't see what to set.
case "cdonts" Set objNewMail = Server.CreateObject ("CDONTS.NewMail") objNewMail.BodyFormat = 1 objNewMail.MailFormat = 0 on error resume next '## Ignore Errors objNewMail.Send strSender, strRecipients, strSubject, strMessage If Err <> 0 Then Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>" End if on error resume next '## Ignore Errors
You cannot use an external mail server like Yahoo's without using authentication and CDONTS doesn't support that. CDOSYS does but you have to edit inc_mail.asp to include a valid email address and password. Search this forum for cdosys.
I made the changes mentioned above and it didn't work. I also added my email address and password (*****change it to asterick here)and sent test mail but nothing. Im using a regular user account to send test mail to myself.
case "cdosys" Set iConf = Server.CreateObject ("CDO.Configuration") Set Flds = iConf.Fields
I tried removing the (') , putting legit email and password and placing a 1 were I was told but didn't work. I don't think at this point that it is Snitz forum causing this but settings in windows 2003. This weekend I will work on this more.
Thanks for all your help. I will keep you all posted.
Originally I was trying to setup my mail to work directly with my yahoo mail services but not successful. I then turn on my exchange services and followed Zaar's settings and it worked for me too.
Glad you got it working. I think you might be sending the mail locally rather than via Yahoo though. There's nothing wrong with this, you just need to be aware of it. Check the Exchange logs to be sure.