Salve ragazzi, ho un problema con il mio cms (scaricato opensource) che non riesce ad inviare la email di conferma a nessuno ma restituisce sempre nella pagina:
eCodice:SMTP Error: Could not authenticate.
Ho già provato mille volte a configurarlo in modo diverso ma il risultato è lo stesso, adesso vi posto il pezzo di codice interessato:Codice:Mailer error: SMTP Error: Could not authenticate.
(Ovviamente ho censurato username e password di gmail per questo ci sono gli asterischi)Codice:/** * An array of e-mail settings, to validate e-mails etc. * * @var array */ public static $mailerConfig = array( "From"=> "***", /* The e-mail which mail is sent from. This should be a valid e-mail, or it may trip spam filters. */ "FromName"=> "Team DiploWeb", /* The name being mailed from. */ "UseMail"=>true, /* Use the php mail() function. Either UseMail, UseSendmail or UseSMTP has to be TRUE, if you're using e-mail. */ "UseSendmail"=>false, /* Use the sendmail binary, if this is false the variable below is ignored */ "SendmailSettings"=> array( "Location"=>"/usr/sbin/sendmail" /* Location of the sendmail binary */ ), "UseSMTP"=> true, /* Use SMTP, if this is FALSE the variable below is ignored. */ "SMTPSettings"=> array( "Host"=>"smtp.gmail.com", "Port"=>"587", "SMTPAuth"=> true, /* If this is FALSE the two variables below are ignored */ "Username"=>"***", "Password"=>"***", /* Uncomment the line below to use SSL to connect (e.g. for gmail) */ 'SMTPSecure'=>'ssl' ), "UseDebug" => false // If this is set to true mail will be output to the browser instead of sent, useful for debugging );
Datemi una soluzione e ve ne sarà riconoscente per tutta la vita![]()

LinkBack URL
About LinkBacks
