Title: PHP Mail function ERR
Last modified: May 26, 2017

---

# PHP Mail function ERR

 *  [tylerfree](https://wordpress.org/support/users/tylerfree/)
 * (@tylerfree)
 * [9 years ago](https://wordpress.org/support/topic/php-mail-function-err/)
 * I made a custom mail function on my WP website and I am adding do_action(‘google_invre_render_widget_action’);
   before my closing form tag like you are supposed to. However my mail function
   does not fire, if I remove this action it will send an email normally. I am not
   sure how I should fix this error or if i’m doing something wrong.
 * Cheers,
 * Tyler

The topic ‘PHP Mail function ERR’ is closed to new replies.

 * ![](https://ps.w.org/invisible-recaptcha/assets/icon-256x256.png?rev=1560060)
 * [Invisible reCaptcha for WordPress](https://wordpress.org/plugins/invisible-recaptcha/)
 * [Support Threads](https://wordpress.org/support/plugin/invisible-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/invisible-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/invisible-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/invisible-recaptcha/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tylerfree](https://wordpress.org/support/users/tylerfree/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/php-mail-function-err/)
 * Status: not resolved