alextselegidis / easyappointments

:date: Easy!Appointments - Self Hosted Appointment Scheduler
https://easyappointments.org
GNU General Public License v3.0
3.15k stars 1.22k forks source link

SMTP Google #1554

Closed chuchet14 closed 1 week ago

chuchet14 commented 2 weeks ago

Hello,

How do I configure the email.php file for Google SMTP?

I did this:

$config['useragent'] = 'Easy!Appointments'; $config['protocol'] = 'smtp'; // or 'smtp' $config['mailtype'] = 'html'; // or 'text' $config['smtp_debug'] = '0'; // or '1' $config['smtp_auth'] = TRUE; //or FALSE for anonymous relay. $config['smtp_host'] = 'smtp-relay.gmail.com'; $config['smtp_user'] = 'rendez-vous@celiaclaudon-psychologue.fr'; $config['smtp_pass'] = '*****'; $config['smtp_crypto'] = 'tls'; // or 'tls' $config['smtp_port'] = 587

But it doesn't work.

alextselegidis commented 1 week ago

Already clarified with personal email: one needs app-specific passwords from google for this

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!