Link to home
Start Free TrialLog in
Avatar of christamcc
christamccFlag for United States of America

asked on

PHP mail only showing first word of from name

I have this for:

DEFINE ('EMAIL_HEADER', 'From: Our World noreply@xxxxx.com' . "\r\n" . 'Reply-To: info@xxxxx.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion());

Open in new window


For this:

$sent = mail($current_email, 'xxxxx xxxxx Account Activated', $body, EMAIL_HEADER);

Open in new window


But the from is only show from Our, if I put it in quotes it shows as  "Our World".

Can you see what I'm doing wrong?  I just want it to be from Our World
ASKER CERTIFIED SOLUTION
Avatar of Graham N.
Graham N.
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of christamcc

ASKER

ahh, the angle brackets! how could i forget the angel brackets!?  thanks!