Title: MAIL FROM command failed
Last modified: December 19, 2022

---

# MAIL FROM command failed

 *  Resolved [jelux](https://wordpress.org/support/users/jelux/)
 * (@jelux)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/mail-from-command-failed/)
 * **Heads up!** The last email your site attempted to send was unsuccessful.
 * >     ```wp-block-preformatted
   >     Email Source: Divi
   >     Mailer: Other SMTP
   >     The following From address failed: mail@brixiaplast.it : MAIL FROM command failed, 7HwrplFkMzimo7HwrpKFQX - Mittente non consentito / Sender not allowed ( mail from )
   >     ,550,5.1.0SMTP server error: MAIL FROM command failed Detail: 7HwrplFkMzimo7HwrpKFQX - Mittente non consentito / Sender not allowed ( mail from )
   >     SMTP code: 550 Additional SMTP info: 5.1.0SMTP server error: MAIL FROM command failed Detail: 7HwrplFkMzimo7HwrpKFQX - Mittente non consentito / Sender not allowed ( mail from )
   >     SMTP code: 550 Additional SMTP info: 5.1.0
   >     ```
   > 
 * For more details please try running an Email Test or reading the latest [error event](https://www.brixiaplast.it/wp-admin/admin.php?page=wp-mail-smtp-tools&tab=debug-events).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmail-from-command-failed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [jelux](https://wordpress.org/support/users/jelux/)
 * (@jelux)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/mail-from-command-failed/#post-16303134)
 * The plugin gives the following error if you send the mail using DIVI, if I do
   a test with the Email Test the mail is sent correctly, how can I solve the problem?
   thank you very much
 *  [David](https://wordpress.org/support/users/dpinson/)
 * (@dpinson)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/mail-from-command-failed/#post-16304339)
 * Hi there [@jelux](https://wordpress.org/support/users/jelux/),
 * Based on the error message, it sounds like your form may be trying to send from
   a different email address than your SMTP provider allows. Some SMTP providers
   will allow you to set any email address as the From address, but the error message
   you’re receiving (“Sender Not Allowed”) indicates that your From address needs
   to be changed.
 * Check your form settings to make sure you’re using the correct From address for
   your SMTP.com If the error continues, check with your SMTP provider so they can
   look into what their SMTP server is throwing this error.
 * I hope that helps!
 * Have a great day!
 *  Thread Starter [jelux](https://wordpress.org/support/users/jelux/)
 * (@jelux)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/mail-from-command-failed/#post-16306525)
 * Thanks a lot, I managed to fix it

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

The topic ‘MAIL FROM command failed’ 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/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [jelux](https://wordpress.org/support/users/jelux/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/mail-from-command-failed/#post-16306525)
 * Status: resolved