Title: Function mail() doesn&#8217;t work
Last modified: November 9, 2016

---

# Function mail() doesn’t work

 *  [mayaweb](https://wordpress.org/support/users/mayaweb/)
 * (@mayaweb)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/function-mail-doesnt-work/)
 * I’m trying to add a simple script to send email from a page but it doesnt work
   when added trought the plugin.
    I’ve tested the script in the root of website
   out of the plugin and it works. Please can you help me sort this out?

The topic ‘Function mail() doesn’t work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/allow-php-in-posts-and-pages_edefed.
   svg)
 * [Allow PHP in Posts and Pages](https://wordpress.org/plugins/allow-php-in-posts-and-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/allow-php-in-posts-and-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mayaweb](https://wordpress.org/support/users/mayaweb/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/function-mail-doesnt-work/)
 * Status: not resolved