Thursday, August 27, 2009

Web app cannot send emails, SMTP error

Web app running on a different machine (Windows 2008 Server) and the Exchange 2007 is configured on a different machine and the webapp is not able to send out the mails (error:), if the To, CC, BCC and From are of the same domain its sending out but not to the outside domains, to do that need to update the Connector at Exchange to allow this machine on Webapp is running and after that Webapp was able to send out the emails to other domains.

Notes:
Generally it occurs when you have a mail server (e.g. mailserver.com) from one domain, and the addresses are from other domains. Either the From or the To address need to belong to the domain (myname@mailserver.com or yourname@mailserver.com). If neither of the addresses belong to a domain that the mail server 'owns', then you are relaying, which is a spam technique and is generally not allowed nowadays.

Unless you need to receive mail back, you can have the From address be a made-up address within the mail server's domain since you don't need to check it.

No comments:

Post a Comment