Configure SMTP for outbound emails

You will be able to change the EspoCRM SMTP settings if you modify /opt/bitnami/app/espocrm/htdocs/data/config.php. Replace USERNAME and PASSWORD with your Gmail account username and password respectively.

'outboundEmailIsShared' => false,
'outboundEmailFromName' => 'User Name',
'outboundEmailFromAddress' => 'USERNAME@gmail.com',
'smtpServer' => 'smtp.gmail.com',
'smtpPort' => '465',
'smtpAuth' => true,
'smtpSecurity' => 'ssl',
'smtpUsername' => 'USERNAME@gmail.com',
'smtpPassword' => 'PASSWORD',

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 and have experienced issues trying to send emails correctly, check the Gmail SMTP troubleshooting page to learn the causes of these issues and how to solve them.

Last modification January 18, 2019