I am currently working on a project for a client and we're having issues sending emails from the site (like welcome emails, complaints, etc...). The emails actually get delivered to hotmail and yahoo mail, but not to GMail. One thing to note is that I'm using gmail as my smtp server and I believe my smtp configurations are correct, but I really do not know why emails are not being delivered to gmail (not even to the junk mail).
Here's how I've configured the smtp server in my Web.config file:
<mailSettings> <smtp deliveryMethod="Network"> <network host="smtp.gmail.com" userName="firstname.lastname@example.org" password="******" port="587" enableSsl="true" /> </smtp> </mailSettings>
Any thoughts why this might be happening?