[nycphp-talk] Botched email header
Jeff
jsiegel1 at optonline.net
Thu Jul 24 17:23:04 EDT 2003
My concern is that I don't want the From address to have double-quotes
around it. Of course I can't let the emails go out with botched up
headers but I'm leaning in the direction of a solution that would clean
up these anomalies (which are a handful of cases) and leave the other
stuff alone.
Jeff
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Analysis & Solutions
Sent: Thursday, July 24, 2003 3:15 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Botched email header
Hey Jeff:
On Thu, Jul 24, 2003 at 03:42:18PM -0400, Jeff wrote:
> After doing some additional research, it seems that the problem may
not
> be the single quote that was botching up the header but the comma in
the
> company name which Sendmail had interpreted as a delimiter and
therefore
> it had assumed there were two different email addresses.
Yep.
> I'm going to
> "test" that route by stripping out the "comma" to see if it fixes
> things.
Stripping commas will work. Also, I think Chris' suggestion of
\"$sCompanyName\"
will work also, though you'd likely need to make sure double quotes in
$sCompanyName are stripped or escaped instead.
Enjoy,
--Dan
--
FREE scripts that make web and database programming easier
http://www.analysisandsolutions.com/software/
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk
More information about the talk
mailing list