Configure WordPress SMTP Email Without a Plugin Using phpmailer_init
Send WordPress email over SMTP without a plugin By default WordPress sends email with PHP’s mail() function, which hands the message to the mail program of the server. On many hosts these messages land in spam or never arrive: the server is not allowed to send for your domain (no SPF or DKIM record for…