Sending mails from WordPress is pretty straightforward, using wp_mail
. The tricky bit is receiving mail. You could probably achieve this by hijacking the method that WordPress has to post by mail. In that code you see this line:
do_action( 'wp-mail.php' );
This allows you to take over the posting process. So, in stead of posting the content of an email you could do something else with it, for instance store it in a table that is attached to a user’s profile.
Making this happen is likely a lot of work. Going with @Rup’s suggestion to use an external server is probably a better idea.
Related Posts:
- WP mail sent to MS Exchange recipients = occasional email corruption?
- How to set SMTP programmatically
- Include HTML template file in wp_mail
- How to setup SMTP for only one specific wp_mail()
- User invite email not delivered – related to subdomain?
- Emailing passwords: Setup installed on home server using XAMPP
- Images in wp_mail not showing
- Is there a way to embed an iframe in an email with text that updates?
- Sending multipart (text/html) emails via wp_mail() will likely get your domain banned
- Do something after sending email
- Mail will not send in HTML
- Create custom welcome email without a plugin
- Email sent from WordPress has HTML tags
- Reset Password – change from name and email address
- Few chars getting replaced with ‘=’ in mail content in wp_mail()
- wp_mail recipient array not sending?
- On form submission how to send 2 email to different users
- How to Configure SMTP on wordpress Cant Send Email
- Should I use wp_mail or PHP’s mail? [duplicate]
- How to add line breaks to $email[‘body’] when using auto_core_update_email hook
- Joining confirmation email
- Must I change the admin user email address while changing the general email address?
- Can I configure WordPress to use postfix without a plugin?
- Email ‘from address’ has a www in it
- Trigger WordPress Actions from Email?
- PHP mail() works but wp_mail() does not
- WordPress unable to send mail
- Not able to send links in email after setting header
- Mail function is not working
- Send bulk emails without timeout
- What is the best way to send out thousands of emails from a WordPress site? [closed]
- Change the Sender(not From) on wp_mail() function [closed]
- Prevent sending emails on user creation in OOP context?
- HTML email sent with wp_mail shows plain text
- wp_mail not sending email on custom function
- WordPress email could not be sent
- Getting image in mail
- Send email daily using `wp_mail`
- wp_mail() won’t send mail when it’s a variable, only when hard coded
- Send email for confirmation during user registration
- phpmailer reply to message id using AddCustomHeader
- About Custom Email Template Design Responsive
- WordPress new user email formatting issues
- Email sent from WordPress has HTML tags
- wp_mail send multiple emails in a loop
- Can’t change headers / From for wp_mail()
- How can I remove the product short description from the WooCommerce Mails?
- New user notification issue
- Why do WordPress emails to multiple recipients include \n in the list
- Multisite – SMTP not working on other network sites
- wp_mail() not sending emails with ajax
- wordpress wp mail not changing sender mail
- Whitelist email sent by WordPress
- WP Mail isn’t sending user account messages, does send from plugins
- Asynchronous emailing
- WordPress stops executing code after the require() method
- Send email from WordPress
- Not able to override pluggable function with a mu_plugin
- What is the correct way to send multipart email in wordpress?
- Filter “wp_mail” – How to distinguish between a WordPress system email and a plugin email?
- What is the difference between ports 465 and 587?
- User Without Email?
- Using WordPress templating for HTML emails
- Locked out of my own blog and password reset not working
- email wordpress users using BCC
- email sends from [email protected] even though I have it set to something else
- Mail not sent when I set HTML headers
- Woocommerce HTML email option unavailable
- WordPress Add New User – Send an Activation Email
- Redirect to another page after submission using wp_mail
- wp_mail not sending attachment
- wordpress do not let user registered with info@ email and other reserved emails to get registered by users
- Limit number of emails per second
- Unable to send custom welcome email after user register
- Throttling email frequency
- How to retrieve the sender email with wp_mail()?
- 2 Email addresses for each user
- wp_mail 200 response but no mail sent
- PAGE Specific Email Notifications
- Attach pdf from dynamic url
- Is Postfix required for WordPress contact forms in general?
- Adding “reply-to” in the email [closed]
- How do I troubleshoot registration/password email errors?
- Error using wp_mail inside custom function
- How to send confirmation email after payment made via paypal?
- WordPress and IPN problem
- How to recover one of WP email addresses?
- forgot password page with expiry link email of 60 minutes
- I need to verify emails when users signup
- Where is the account email address located?
- SMTP not working for Comments Email Notifications
- How can I send an email 24 hours after first email?
- WordPress doesn’t send SMTP email even by phpmailer hook
- Send Custom Post Notification to Followers
- send email to all registered users when post expires
- Create WP account from an external email form submission?
- Can wordpress users check GMAIL (G Suite) inbox & send email from their membership account on WordPress? [closed]
- Send email once every 12 months to a particular user [closed]
- Autoresponder emails go to Spam – Junk folder
- Emails from [email protected] fail authentication when a new user is set up [closed]