How to set web service using Gmail for outgoing e-mails
Description
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.
In a production environment, you should configure SMTP relay on the same server where eWay-CRM is running. eWay-CRM will not attempt to resend an email if the SMTP server is unavailable at the time the email is sent.
Version
All versions of eWay-CRM
Difficulty
Medium
Resolution
- Create a free Gmail account
- Enable 2-step verification
- Create app password
- Set up the web service properly. The following settings must be inserted into the Web.config file.
<add key="SendMail" value="1" />
<add key="sender" value="EMAIL_OF_SENDER" />
<add key="smtp" value="smtp.gmail.com" />
<add key="port" value="587" />
<add key="smtpUser" value="GMAIL_USERNAME" />
<add key="smtpPassword" value="APP_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.