Title: Error sending mail
Last modified: May 28, 2017

---

# Error sending mail

 *  Resolved [ecollart](https://wordpress.org/support/users/ecollart/)
 * (@ecollart)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-sending-mail-2/)
 * Hello,
 * I am using Mailpoet 2.7.10 and had several problems to send mails mainly due 
   to my hosting provider…
 * I decided to fix that once for ever and install GMAIL SMTP that is working fine
   except with Mail poet configured to use PHPmail…
    Right, I then follow your advise
   and created a SendGrid free account, modify Mail Poet config and … it doesn’t
   work either. I have a screenshot but I cannot attach it here…
 * Error text when trying test mail is:
    Request error not JSON:<br /> <b>Fatal 
   error</b>: Cannot redeclare class phpmailerException in <b>/var/www/vhost/ecollart.
   xyz/httpdocs/wp-includes/class-phpmailer.php</b> on line <b>4040</b><br />
 * Thanks for any help
 * Eric Collart

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

 *  Thread Starter [ecollart](https://wordpress.org/support/users/ecollart/)
 * (@ecollart)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-sending-mail-2/#post-9174355)
 * This seems a problem since 2.7.7 !
    This means no one was able to subscribe to
   my newsletter since then ?
 * It seems it works with 2.7.6 but how to downgrade ?
 * Lot of “seems” …
 * Thanks for help
 * Eric
 *  Thread Starter [ecollart](https://wordpress.org/support/users/ecollart/)
 * (@ecollart)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-sending-mail-2/#post-9174810)
 * Well, once GMAIL SMTP plugin is de-activated, Mailpoet 2.7.10 works fine with
   SendGrid Web API and accepts new subscribers to newsletter !
 * Now I have to solve again other plugins trouble to send mails… Initial reason
   why I tried already 2 SMTP plugins without 100% success !
 * I don’t like Google but I need a compatible SMTP plugin for WordPress to have
   reliable mailing across all my WordPress, not just newsletter… Can you advise
   me such a plugin that will work with Mailpoet ? If not, I am afraid (because 
   I love Mailpoet) I will have to investigate another newsletter plugin…
 * Thanks for your help
 * Eric
    -  This reply was modified 8 years, 11 months ago by [ecollart](https://wordpress.org/support/users/ecollart/).
 *  [Wysija](https://wordpress.org/support/users/wysija/)
 * (@wysija)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-sending-mail-2/#post-9175064)
 * Eric, try this one: [https://wordpress.org/plugins/wp-mail-smtp/](https://wordpress.org/plugins/wp-mail-smtp/)
   or even better, migrate to MailPoet 3: [https://wordpress.org/plugins/mailpoet/](https://wordpress.org/plugins/mailpoet/)
 *  Thread Starter [ecollart](https://wordpress.org/support/users/ecollart/)
 * (@ecollart)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-sending-mail-2/#post-9175533)
 * Hello,
 * thanks for your reply !
 * I tried WP-MAIL-SMTP but it failed to work with SendGrid using API key method
   so I remove it…
 * SendGrid WordPress plugin works fine and seems compatible with Mailpoet 2.7.10!!!!
   
   All mails from my WordPress now work fine !
 * You can follow instructions for a free SendGrid account (12k mails / month) provided
   by Mailpoet at [http://docs.mailpoet.com/article/28-sendgrid](http://docs.mailpoet.com/article/28-sendgrid)
 * Problem solved for me, I hope it will be usefull for others !
 * Eric

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

The topic ‘Error sending mail’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wysija-newsletters_ffddcc.svg)
 * [MailPoet Newsletters (Previous)](https://wordpress.org/plugins/wysija-newsletters/)
 * [Support Threads](https://wordpress.org/support/plugin/wysija-newsletters/)
 * [Active Topics](https://wordpress.org/support/plugin/wysija-newsletters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wysija-newsletters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wysija-newsletters/reviews/)

## Tags

 * [mail](https://wordpress.org/support/topic-tag/mail/)

 * 4 replies
 * 2 participants
 * Last reply from: [ecollart](https://wordpress.org/support/users/ecollart/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/error-sending-mail-2/#post-9175533)
 * Status: resolved