bchzurmo

Configure SMTP for outbound emails

Follow these steps:

  • Navigate to the “Settings -> Email configuration -> Email SMTP” menu and configure the settings for your email provider.

    Zurmo mail configuration

    Here is an example of using a Gmail account. Replace USERNAME and PASSWORD with your Gmail account username and password respectively.

    Host: smtp.gmail.com
    Port: 587
    Username: USERNAME@gmail.com
    Password: PASSWORD
    Extra Mail Settings: tls (lower case)
    

    Note that each account has its own email configuration. You may need to also change the “From” address in the “My Profile -> Configuration -> Email” form to match the one in the SMTP settings to avoid the emails being marked as spam. You can also configure SMTP settings for each account in this section if needed.

  • Configure the Job Manager in the system cron to send emails. You must include the tasks “Monitor” and “ProcessOutboundEmail”. Add the following lines to the /etc/crontab file:

    */5 * * * * daemon cd /opt/bitnami/apps/zurmo/htdocs/app/protected/commands; /opt/bitnami/php/bin/php ./zurmoc jobManager user Monitor
    
    */1 * * * * daemon cd /opt/bitnami/apps/zurmo/htdocs/app/protected/commands; /opt/bitnami/php/bin/php ./zurmoc jobManager user ProcessOutboundEmail
    

    For more information, refer to the Zurmo wiki.

To configure the application to use other third-party SMTP services for outgoing email, such as SendGrid, refer to the FAQ.

NOTE: If you are using Gmail as the outbound email server, your application’s attempts to send outgoing emails may be blocked by Gmail if it considers the authentication attempts to be suspicious. When this happens, you will receive a Gmail security alert at the corresponding Gmail address. To proceed, you will need to manually confirm the validity of the authentication attempt before Gmail will permit the application to send outbound emails. For more information on this and other Gmail issues related to outbound email from your application, refer to our Gmail SMTP troubleshooting page.

Last modification March 22, 2019