Title: Errors when sending emails
Last modified: December 5, 2025

---

# Errors when sending emails

 *  Resolved [tcdssupport](https://wordpress.org/support/users/tcdssupport/)
 * (@tcdssupport)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/errors-when-sending-emails/)
 * We keep getting this error message when emails are sent via our site. 
   **Mailer:
   Default (none) PHPMailer was able to connect to SMTP server but failed while 
   trying to send…**Here is the full error log:
 * **Versions:**
   **WordPress:** 6.8.3**WordPress MS:** No**PHP:** 8.2.29**WP Mail
   SMTP:** 4.7.1
 * **Params:**
   **Mailer:** mail**Constants:** No
 * **Server:**
   **PHP.mail():** Yes
 * **PHPMailer Debug:**
   Could not instantiate mail function.
 * **Debug:**
   Email Source: WP Mail SMTP Mailer: Default (none) PHPMailer was able
   to connect to SMTP server but failed while trying to send an email.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferrors-when-sending-emails%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Shawon Chowdhury](https://wordpress.org/support/users/shawon001/)
 * (@shawon001)
 * [6 months ago](https://wordpress.org/support/topic/errors-when-sending-emails/#post-18749584)
 * Hi [@tcdssupport](https://wordpress.org/support/users/tcdssupport/) ,
   Thanks 
   for reaching out.
 * Based on the error message, it seems that right now your site is using the ‘Default’(
   PHP) mailer option in the WP Mail SMTP plugin. This is the method your site uses
   to send emails when SMTP is not set up.
 * Generally speaking, it is not recommended to use the ‘Default’ (PHP) mailer because
   your emails will not be authenticated and your email deliverability may be low
   enough that your emails will end up in spam folders or might not get delivered
   at all.
 * In order to configure your site to send emails authenticated for better deliverability,
   you’ll need to set up one of the SMTP Mailer options in the plugin (here’s a 
   [screenshot](https://a.supportally.com/i/CnuI55) of the options) and configure
   its settings.
 * **Setting up a WP Mail SMTP Mailer**
 * [Here’s](https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-mailers/)
   a tutorial for setting up each of the available mailers.
 * **Recommended Mailers**
 * If you’re not sure which mailer to go with, we recommend transactional mailers
   first. Transactional email service providers such as our #1 recommended mailer,
   [SendLayer](https://a.supportally.com/i/6Le9e8), are probably best for sending
   emails, as far as reliability goes. Brevo (formerly Sendinblue), SMTP.com, SendGrid,
   Mailgun, etc., are also transactional email service providers if you’d like to
   consider your options.
 * These would also allow you to send emails with a custom ‘From Email’ specific
   to your domain (examples: [no-reply@yourwebsite.com](https://wordpress.org/support/topic/errors-when-sending-emails/no-reply@yourwebsite.com?output_format=md),
   [contact@yourwebsite.com](https://wordpress.org/support/topic/errors-when-sending-emails/contact@yourwebsite.com?output_format=md)).
   
   I hope this helps. Thanks 🙂

Viewing 1 replies (of 1 total)

The topic ‘Errors when sending emails’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shawon Chowdhury](https://wordpress.org/support/users/shawon001/)
 * Last activity: [6 months ago](https://wordpress.org/support/topic/errors-when-sending-emails/#post-18749584)
 * Status: resolved