Re: fixing mail for broken Outlook

From: Date: Wed, 16 Jan 2002 16:29:03 +0000
Subject: Re: fixing mail for broken Outlook
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80746@lists.php.net to get a copy of this message
Hank, You say "just text" and "text/plain". What do you mean by "mungs the formatting"? What formatting in plain text? =dn > I've got an app that sends emails, not complicated emails, their just > text, the mail text is stored in text files on the server so they can be > edited independant of the code, I've then got a function that reads the > file (using file()) ... iterates the array, chop(), append \r\n and > builds a message. > > This text gets sent using mail() -- works great for everything but > Outlook which seems to lose all the line breaks and generally mungs the > formatting to heck. I've tried sending a "Content-type: text/plain;" > header ... doesn't help. > > The only thing that keeps me from losing my mind is that I accidently > had the wrong header "Content-type: text/text;" at first and while it > created an attachment in Outlook, the attachemnt was properly formatted. > > Anyone else have this problem and solved it? > -- > Hank Marquardt <hank@yerpso.net> > http://web.yerpso.net > GPG Id: 2BB5E60C > Fingerprint: D807 61BC FD18 370A AC1D 3EDF 2BF9 8A2D 2BB5 E60C > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#80746) next »