Title: wp-mail.php | Developer.WordPress.org

---

# File: wp-mail.php

 * hook[wp-mail.php](https://developer.wordpress.org/reference/hooks/wp-mail-php/)
 * Fires to allow a plugin to do a complete takeover of Post by Email.
 * Used by [0 functions](https://developer.wordpress.org/reference/hooks/wp-mail-php/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp-mail-php/#uses)
   | Source: [wp-mail.php:29](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-mail.php#L29-L29)
 * hook[wp_mail_original_content](https://developer.wordpress.org/reference/hooks/wp_mail_original_content/)
 * Filters the original content of the email.
 * Used by [0 functions](https://developer.wordpress.org/reference/hooks/wp_mail_original_content/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_mail_original_content/#uses)
   | Source: [wp-mail.php:201](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-mail.php#L201-L201)
 * hook[phone_content](https://developer.wordpress.org/reference/hooks/phone_content/)
 * Filters the content of the post submitted by email before saving.
 * Used by [0 functions](https://developer.wordpress.org/reference/hooks/phone_content/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/phone_content/#uses)
   | Source: [wp-mail.php:224](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-mail.php#L224-L224)
 * hook[publish_phone](https://developer.wordpress.org/reference/hooks/publish_phone/)
 * Fires after a post submitted by email is published.
 * Used by [0 functions](https://developer.wordpress.org/reference/hooks/publish_phone/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/publish_phone/#uses)
   | Source: [wp-mail.php:254](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-mail.php#L254-L254)