Under the System Settings->Integrations (1) you will find the Mail tab (2) that allows you to configure the SMTP server for sending emails.
In order to send emails via the platform, you need to setup an SMTP server. That means either an SMTP server installed on the same web server where the platform is located (e.g. Sendmail) or any other SMTP server where you have a valid account (e.g. your email account).
The correct settings depend on the specific SMTP server you will be using. For example, in order to use Google's own SMTP server, you should use the following settings (provided that you have a valid Gmail account):
- System email: The email that will appear as “sender” in all of the outgoing emails. (For Gmail, this must always match the Gmail user below)
- SMTP Host: ssl://smtp.gmail.com
- Username: Your Gmail email, for example, email@example.com
- Password: Your Gmail password
- Port: The port where your server is located. For unauthenticated or local services (e.g. Sendmail) it is usually 25. For TLS, usually, it is 587. For SSL it's usually 465. In our case, it's 465
- Authentication: Check this if your server requires authentication (as in our case)
Note: In order for the system to actually process the email queue and send emails, you must set up a cron job to run periodically (e.g. every 3 minutes) and execute the file www/cron.php. For example, such a cron entry would look like this: */3 * * * * /usr/bin/php /var/www/eFront/www/cron.php . More information can be found in this article.