NYCPHP Meetup

NYPHP.org

[nycphp-talk] Botched email header

Jeff jsiegel1 at optonline.net
Thu Jul 24 13:02:00 EDT 2003


I take it this would be, in a sense, a "global" change you're
suggesting. But wouldn't the "FROM" address come out as "Jay's Auto
Wrecking" (that is, with the double quotes around it)? 

And the values are: $sCompanyName is the name of the company sending the
email, the session variable is their email address.

Jeff

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Chris Shiflett
Sent: Thursday, July 24, 2003 11:50 AM
To: NYPHP Talk; evcoen at earthlink.net
Subject: RE: [nycphp-talk] Botched email header


> $sHeaders = "From: $sCompanyName
> <{$_SESSION['srDU_sLoginEMailAddr']}>\n"

How about this:

$sHeaders = "From: \"$sCompanyName\"
<{$_SESSION['srDU_sLoginEMailAddr']}>\n";

Also, what are the values of $sCompanyName and
$_SESSION['srDU_sLoginEMailAddr'] exactly?

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk




More information about the talk mailing list