Frequently Asked Question

How to use my own smtp server to send email?
Last Updated 6 years ago

DbFace embed a smtp server (provided by Amazon Simple Email Service) to send emails.

You can also config to use your own smtp server to send emails.
Put the entry below into config/
// The email settings for sending reports or notification
// The function mail() in Cloud Code also use this settings
$config['email_settings'] = array(
'useragent' => 'dbface',
'protocol'=> 'smtp',
'smtp_host'=> 'your-smtp-host',
'smtp_user'=> 'your-smtp-login-username',
'smtp_pass'=> 'your-smtp-login-password',
'smtp_port' => '465',
'smtp_crypto' => 'tls',
'crlf' => '\r\n',
'newline' => "\r\n",
'mailtype' => 'html',
'smtp_crypto' => "ssl",
'validate' => false,
'charset' => 'utf-8',
'wordwrap' => true

Please Wait!

Please wait... it will take a second!