hrolsons
asked on
Get full email
What php code could I use to connect to a mail server and get the entire raw email?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, use htmlentities() when you need to output this on a html page.
Something like this:
echo '<pre>'.htmlentities($msg).'</pre>';
ASKER
From: "XYZ Inc."<vip@xyz.com>
But all that showed up was "XYZ Inc.". Then I finally figured out that the "<" and ">" on the email address was causing the page to be confused because it thought it was html.
Thanks.