Getting Started

Configure access to your SMTP server

28 views December 24, 2015 March 10, 2019 admin 0

Send emails by using the PHP native function – mail() – suffer from many drawbacks in terms of Deliverability. Many anti spam filters end up blocking these emails. To avoid this problem, you must configure an SMTP account in the application to send all mail through it.

To enable the SMTP settings you must follow the next steps:

  1. Open the file @app/config/params.php.
  2. Change the value of 'App.Mailer.transport' to 'smtp'.
  3. Save the file.

The SMTP server authentication data can be the one that comes with your hosting plan or by using an external service, such as Hotmail, Yahoo, Gmail or other.

As an example, consider how to configure the SMTP server with a Google Apps account or Gmail.

To configure your SMTP server:

  1. In the navigation bar, click on your username and then click Settings
  2. In the lower left block, click Mail Server
  3. Please fill the fields with the following data:
    - Host: smtp.gmail.com
    - Port: 587
    - Encryption: TLS
    - Username: Your username on Google Apps or Gmail
    - Password: Your password on Google Apps or Gmail
    
  4. Click Update

Note: You can read more information in our Email Setup documentation.

Was this helpful?