fix mail
This commit is contained in:
@@ -62,18 +62,20 @@ define('PAYPAL_API_URL', PAYPAL_SANDBOX ?
|
||||
// CONFIGURAZIONE EMAIL
|
||||
// ============================================
|
||||
|
||||
// Configurazione per l'invio di email (usa SMTP per produzione)
|
||||
// Configurazione per l'invio di email
|
||||
define('MAIL_FROM', 'noreply@pilatesstudio.com');
|
||||
define('MAIL_FROM_NAME', 'Pilates Studio');
|
||||
|
||||
// Impostazioni SMTP (opzionali - commentate se usi mail() PHP di base)
|
||||
/*
|
||||
// Usa SMTP per invio email affidabile
|
||||
define('USE_SMTP', true); // Imposta false per usare mail() PHP di base
|
||||
|
||||
// Impostazioni SMTP - Gmail
|
||||
// Per Gmail: usa password applicazione da https://myaccount.google.com/apppasswords
|
||||
define('SMTP_HOST', 'smtp.gmail.com');
|
||||
define('SMTP_PORT', 587);
|
||||
define('SMTP_USERNAME', 'tua-email@gmail.com');
|
||||
define('SMTP_PASSWORD', 'tua-password-applicazione');
|
||||
define('SMTP_ENCRYPTION', 'tls');
|
||||
*/
|
||||
define('SMTP_USERNAME', 'tua-email@gmail.com'); // Inserisci la tua email Gmail
|
||||
define('SMTP_PASSWORD', 'tua-password-applicazione'); // Password applicazione (16 caratteri)
|
||||
define('SMTP_ENCRYPTION', 'tls'); // tls o ssl
|
||||
|
||||
// ============================================
|
||||
// CONFIGURAZIONE UPLOAD FILE
|
||||
|
||||
Reference in New Issue
Block a user