Home › Forums › Quform PHP › Error while sending the contact form
- This topic has 2 replies, 1 voice, and was last updated 10 years, 2 months ago by Xavi.
- AuthorPosts
- September 25, 2014 at 12:01 pm #12600XaviParticipant
While I am sending the contact form, I can see the following error. Any clue? (working under a subdirectory on a WordPress site).
Strict Standards: date(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘Europe/Berlin’ for ‘CEST/2.0/DST’ instead in /homepages/10/d521449782/htdocs/microsite/formulario_interior/lib/class.phpmailer.php on line 2387
Strict Standards: date(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘Europe/Berlin’ for ‘CEST/2.0/DST’ instead in /homepages/10/d521449782/htdocs/microsite/formulario_interior/lib/class.phpmailer.php on line 2391
Fatal error: Uncaught exception ‘phpmailerException’ with message ‘SMTP Error: Could not connect to SMTP host.’ in /homepages/10/d521449782/htdocs/microsite/formulario_interior/lib/class.phpmailer.php:1093 Stack trace: #0 /homepages/10/d521449782/htdocs/microsite/formulario_interior/lib/class.phpmailer.php(971): PHPMailer->SmtpConnect() #1 /homepages/10/d521449782/htdocs/microsite/formulario_interior/lib/class.phpmailer.php(845): PHPMailer->SmtpSend(‘Date: Thu, 25 S…’, ‘–b1_a9ff5eac3c…’) #2 /homepages/10/d521449782/htdocs/microsite/formulario_interior/lib/class.phpmailer.php(763): PHPMailer->PostSend() #3 /homepages/10/d521449782/htdocs/microsite/formulario_interior/process.php(354): PHPMailer->Send() #4 /homepages/10/d521449782/htdocs/microsite/formulario_interior/process.php(408): process(Object(Quform), Array) #5 {main} thrown in /homepages/10/d521449782/htdocs/microsite/formulario_interior/lib/class.phpmailer.php on line 1093
Thank you,
Xavi Alsina
September 29, 2014 at 7:28 am #12627XaviParticipantBump?
September 29, 2014 at 8:11 am #12628XaviParticipantSolved,
I deleted the SMTP information and it works flawless!
- AuthorPosts
- You must be logged in to reply to this topic.