How To Send Emails In WordPress With Wp_Mail wp_mail() is the WordPress function for sending email. It works with any SMTP plugin and respects all the mail filters, so always use it instead of the plain PHP mail()…