You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
darkalchemy edited this page Sep 3, 2019
·
4 revisions
Pu-239 uses PHPMailer to send email. I use my gmail account for this. You can use any service that allows you to send email remotely.
This requires you to add your user credentials to config.php
Edit config/config.php
'mail' => [
'smtp_enable' => false, // true, else it won't work
'smtp_host' => 'smtp.gmail.com',
'smtp_auth' => true,
'smtp_username' => 'gmail username', // your email address you wish to send email from, gmail limits this to 1000 emails per 24 hours
'smtp_password' => 'gmail password', // app password may be required, info below
'smtp_secure' => 'tls',
'smtp_port' => 587,
],
I also chose to enable 2-factor authentication and add an 'App Password'.
If you prefer a less secure method, you may allow less secure app access.
That's it!
If you are having any issues, look at the error log, /var/log/mail.log.