awsowncloud

Configure SMTP for outbound emails

This is required so the application can send notifications via email.

Edit the /opt/bitnami/apps/owncloud/htdocs/config/config.php and add the following at the end of the file. This example uses a Gmail account. Replace USERNAME and PASSWORD with your Gmail account username and password respectively.

...
"mail_smtpmode" => 'smtp',
"mail_smtphost" => 'ssl://smtp.gmail.com',
"mail_smtpport" => 465,
"mail_smtpauth" => true,
"mail_smtpname" => 'USERNAME@gmail.com',
"mail_smtppassword" => 'PASSWORD',
);
?>

NOTE: Configure the administrator email from the ownCloud admin panel under the “Settings -> Personal -> Email” menu. To configure the application to use the SMTP service provided by Amazon Simple Email Service (SES), refer to the guide on using Amazon SES.

To configure the application to use other third-party SMTP services for outgoing email, such as SendGrid or Mandrill, 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 September 6, 2018