fix send mail with python script
This commit is contained in:
@@ -74,7 +74,9 @@ define('MAIL_FROM_NAME', 'Pilates Studio');
|
||||
define('USE_SMTP', true); // Imposta false per usare mail() PHP di base
|
||||
|
||||
// Impostazioni SMTP - Gmail
|
||||
// NOTA: Le email vengono inviate tramite script Python (send_email.py) per maggiore affidabilità
|
||||
// Per Gmail: usa password applicazione da https://myaccount.google.com/apppasswords
|
||||
// Requisito: Python 3.6+ installato sul server (testa con: python3 --version)
|
||||
define('SMTP_HOST', 'smtp.gmail.com');
|
||||
define('SMTP_PORT', 587);
|
||||
define('SMTP_USERNAME', 'pyco.networking@gmail.com'); // Inserisci la tua email Gmail
|
||||
|
||||
Reference in New Issue
Block a user