Problem using wp_mail function in WPMU

Kirk Ward Inactive
Expert
Friendly Neighbour
842
#92

I added this line to my wpmu-functions.php file at the end of the newuser_notify_siteadmin function

$headers = 'From: Calvin Micklefinger <calvinmicklefinger@hotmail.com>' . "\r\n\\";
   wp_mail('kirk@mydomain.com', 'subject', 'message', $headers);

I would have expected that as simple as that is, the email "From" would have said

Calvin Micklefinger <calvinmicklefinger@hotmail.com>

As limited as my coding skills are, I really don't see much choice for any other response.

What I got was

"accountingpractitioner.com" <calvinmicklefinger@hotmail.com>

Why in the Sam Hill is that happening? Where do I look to find a solution? This is also disrupting a very solid and well respected plugin I use.

(0)