Re: Multipart Email Problem

From: Date: Thu, 24 Jun 2004 19:48:27 +0000
Subject: Re: Multipart Email Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-188997@lists.php.net to get a copy of this message
I had the same problem a few months ago. I switched to Mail::mime thinking that the problem was my homebrew code, but still the same thing -- Outlook didn't recognize the message as multipart. The fix was changing the newline sequence from "\r\n" to "\n". The Mail::mime constructor allows you to change this value, so in my code the change boiled down to: $mime = new Mail_mime ("\n"); Hope this works for you. pb On Thu, 24 Jun 2004 12:27:17 +0100, Matt MacLeod <matt@bigbarn.co.uk> wrote: > > I have a script that sends a multipart email from a php page. > > The script appears to work fine on my mail client (Mail on Mac OSX) and > on an online email reader (mail2web.com). > > However a colleague using Outlook on Windows 2003 views the whole email > (ie the raw code - both the text only and the HTML) and when I sent an > email to his hotmail account, hotmail simply displayed a blank page. [snip] --

« previous php.general (#188997) next »