I am currently busy with a Web Api allication that sends emails using the credentials from my gmail account. I have the following in my webconfig file
<mailSettings>
<smtp from = "mygmailemailaddress" >
<network host="smtp.gmail.com"
port="587"
userName="mygmailemailaddress"
password="myaccountpassword"
enableSsl="true" />
</smtp>
</mailSettings>
However, this keeps failing, what is the issue and how do I fix it?