Title: PHP mailer errors
Last modified: September 20, 2016

---

# PHP mailer errors

 *  [jrm61](https://wordpress.org/support/users/jrm61/)
 * (@jrm61)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-mailer-errors/)
 * When using SMTP to send form I get below error. It works with a standard email
   account but won’t work with
 * smtp.mail.yahoo.com
    or smtp.office365.com Using port 587 Using TLS
 * From the send options test form it works but not from any form on a page called
   by the form shortcode
 * Fatal error: Uncaught exception ‘phpmailerException’ with message ‘SMTP Error:
   Could not authenticate.’ in /nas/content/staging/intercaps/wp-includes/class-
   phpmailer.php:1556 Stack trace: #0 /nas/content/staging/intercaps/wp-includes/
   class-phpmailer.php(1409): PHPMailer->smtpConnect(Array) #1 /nas/content/staging/
   intercaps/wp-includes/class-phpmailer.php(1245): PHPMailer->smtpSend(‘Date: Tue,
   20 S…’, ‘This is a multi…’) #2 /nas/content/staging/intercaps/wp-includes/class-
   phpmailer.php(1125): PHPMailer->postSend() #3 /nas/content/staging/intercaps/
   wp-content/plugins/quick-contact-form/quick-contact-form.php(617): PHPMailer-
   >send() #4 /nas/content/staging/intercaps/wp-content/plugins/quick-contact-form/
   quick-contact-form.php(732): qcf_process_form(Array, ‘ContactPage’) #5 /nas/content/
   staging/intercaps/wp-content/plugins/quick-contact-form/quick-contact-form.php(
   905): qcf_loop(‘ContactPage’) #6 [internal function]: qcf_start(Array, ”, ‘qcf’)#
   7 /nas/content/staging/intercaps/wp-includes/shortcodes.php(326): call_user_f
   in /nas/content/staging/intercaps/wp-includes/class-phpmailer.php on line 1556

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-mailer-errors/#post-8292362)
 * The test page and the main form use the same code to process the form. So I’m
   not at all sure why it isn’t working.
 * Can you send a link to the page so I can take a look
 *  Thread Starter [jrm61](https://wordpress.org/support/users/jrm61/)
 * (@jrm61)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-mailer-errors/#post-8292411)
 * hi aerin
    thanks for response Unfortunately I have parted ways with the site 
   owner and no longer have access to his site. He was using WP-Engine which seems
   to have restrictions on lots of plugins including Wordfence & Duplicator.
 * regards
    Jim

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP mailer errors’ is closed to new replies.

 * ![](https://ps.w.org/quick-contact-form/assets/icon-128x128.png?rev=1068066)
 * [Quick Contact Form](https://wordpress.org/plugins/quick-contact-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-contact-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-contact-form/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-contact-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-contact-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-contact-form/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jrm61](https://wordpress.org/support/users/jrm61/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/php-mailer-errors/#post-8292411)
 * Status: not resolved