Title: Red border message, while wp_mail is working!
Last modified: April 12, 2017

---

# Red border message, while wp_mail is working!

 *  [770change](https://wordpress.org/support/users/770change/)
 * (@770change)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/c-6/)
 * After migrating site to php 5.4 , CF7 shows red border fail message.
    PHP mail
   works fine. wp_mail works fine.
 * how to debug this?
    no messages in mailer log… no messages while setting WP_DEBUG
   =TRUE.
 * red border and that’s all..
    -  This topic was modified 9 years, 4 months ago by [770change](https://wordpress.org/support/users/770change/).

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

 *  Thread Starter [770change](https://wordpress.org/support/users/770change/)
 * (@770change)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/c-6/#post-9024140)
 * Tried to deactivate all plugins = no result
    Tried to use SMTP plugin (test message
   is ok) = no result
    -  This reply was modified 9 years, 4 months ago by [770change](https://wordpress.org/support/users/770change/).
    -  This reply was modified 9 years, 4 months ago by [770change](https://wordpress.org/support/users/770change/).
 *  Thread Starter [770change](https://wordpress.org/support/users/770change/)
 * (@770change)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/c-6/#post-9024202)
 * up: created new form, leaved one field there. And got GREEN BORDER! HOW?????
 *  Thread Starter [770change](https://wordpress.org/support/users/770change/)
 * (@770change)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/c-6/#post-9024439)
 * finally i got the difference between old forms and new form.
    new form has a 
   field “from” = <wordpress@site.com>.
 * In old forms i had “from” = sitename <noreply@site.com>
 * Though i tried an simply clear this field, add [admin@site.com](https://wordpress.org/support/topic/c-6/admin@site.com?output_format=md)
   there (that worked fine in wp_mail), it did not worked.
 * but when i changed them to <wordpress@site.com> – they all start working.
    Thats
   all
 * I think you should add some debug features in script, you’ll save a lot of your
   and people’s time
    -  This reply was modified 9 years, 4 months ago by [770change](https://wordpress.org/support/users/770change/).
    -  This reply was modified 9 years, 4 months ago by [770change](https://wordpress.org/support/users/770change/).
 *  Thread Starter [770change](https://wordpress.org/support/users/770change/)
 * (@770change)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/c-6/#post-9135882)
 * a month passed, i DID NOT make any changes to site
    AND
 * **RED BORDER!! without any reason! **
 * wp_mail still works fine!
 * tried my old experience adding new form, but its also returns red border!
 * Pls help! i’m in dispair.

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

The topic ‘Red border message, while wp_mail is working!’ is closed to new replies.

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

## Tags

 * [red border](https://wordpress.org/support/topic-tag/red-border/)
 * [wp_mail](https://wordpress.org/support/topic-tag/wp_mail/)

 * 4 replies
 * 1 participant
 * Last reply from: [770change](https://wordpress.org/support/users/770change/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/c-6/#post-9135882)
 * Status: not resolved