How to set web service using Gmail for outgoing e-mails


The setting can be used for testing but also in the case that you haven't got your own SMTP server. You will send e-mails easily using the Gmail service.


All versions of eWay-CRM




Create a free Gmail account and set up the web service properly. The setting must be inserted into the Web.config file.

<add key="SendMail" value="1" />
<add key="sender" value="EMAIL_OF_SENDER" />
<add key="smtp" value="" />
<add key="port" value="587" />
<add key="smtpUser" value="GMAIL_USERNAME" />
<add key="smtpPassword" value="PASSWORD" />
<add key="enableSsl" value="1" />

To test the correct sending of emails, please follow the instructions in this article: How to Check SMTP Configuration.