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
When i got an error: Fatal error: Uncaught Nette\Mail\SendException: Unable to send email: Failed to connect to mailserver at &\quot;ssl://smtp.gmail.com&\quot; port 465, verify your &\quot;SMTP&\quot; and &\quot;smtp_port&\quot; I think it's not beautiful.. Than i change this: (48-51 line @ SendmailMailer.php)
$info = ": $message";
});
if ($res === FALSE) {
throw new SendException("Unable to send email$info.");
to this
$info = $message;
});
if ($res === FALSE) {
throw new SendException("Unable to send email: " . html_entity_decode($info));
and the result little bit beautiy for client eyes:
Fatal error: Uncaught Nette\Mail\SendException: Unable to send email: Failed to connect to mailserver at "ssl://smtp.gmail.com" port 465, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
I put backslashes, so you see the problem, because on preview that's decode, but in script no))
Thank you.
The text was updated successfully, but these errors were encountered:
When i got an error: Fatal error: Uncaught Nette\Mail\SendException: Unable to send email: Failed to connect to mailserver at &\quot;ssl://smtp.gmail.com&\quot; port 465, verify your &\quot;SMTP&\quot; and &\quot;smtp_port&\quot; I think it's not beautiful.. Than i change this: (48-51 line @ SendmailMailer.php)
to this
and the result little bit beautiy for client eyes:
Fatal error: Uncaught Nette\Mail\SendException: Unable to send email: Failed to connect to mailserver at "ssl://smtp.gmail.com" port 465, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
I put backslashes, so you see the problem, because on preview that's decode, but in script no))
Thank you.
The text was updated successfully, but these errors were encountered: