NYCPHP Meetup

NYPHP.org

[nycphp-talk] Botched email header

Analysis & Solutions danielc at analysisandsolutions.com
Thu Jul 24 16:14:51 EDT 2003


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



More information about the talk mailing list