Send and receive emails with wp_mail() for WP User (like Mailserver)
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 … Read more