Skip to content

Instantly share code, notes, and snippets.

@rammanoj
Created July 17, 2017 13:14
Show Gist options
  • Save rammanoj/26854978c9844ad92e2fb46e0e2e5a9f to your computer and use it in GitHub Desktop.
Save rammanoj/26854978c9844ad92e2fb46e0e2e5a9f to your computer and use it in GitHub Desktop.
there is a problem in sending mail due to smtp
Fatal error: Uncaught phpmailerException: SMTP Error: Could not connect to SMTP host. in C:\xampp\htdocs\1\PHPMailer_5.2.0\PHPMailer_5.2.0\class.phpmailer.php:878 Stack trace: #0 C:\xampp\htdocs\1\PHPMailer_5.2.0\PHPMailer_5.2.0\class.phpmailer.php(763): PHPMailer->SmtpConnect() #1 C:\xampp\htdocs\1\PHPMailer_5.2.0\PHPMailer_5.2.0\class.phpmailer.php(630): PHPMailer->SmtpSend('Date: Mon, 17 J...', '--b1_84f442bf95...') #2 C:\xampp\htdocs\1\PHPMailer_5.2.0\PHPMailer_5.2.0\class.phpmailer.php(575): PHPMailer->PostSend() #3 C:\xampp\htdocs\1\PHPMailer_5.2.0\PHPMailer_5.2.0\mail.php(33): PHPMailer->Send() #4 {main} thrown in C:\xampp\htdocs\1\PHPMailer_5.2.0\PHPMailer_5.2.0\class.phpmailer.php on line 878
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment