Re: PHP sending email contents as an attachment, not in thebody

From: Date: Fri, 06 Apr 2001 01:23:26 +0000
Subject: Re: PHP sending email contents as an attachment, not in thebody
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-47370@lists.php.net to get a copy of this message
"Lindsay Adams" <lindsay@dingos.net> wrote in message news:B6EF483F.4115%lindsay@dingos.net... > According to the headers in your email, you are using Outlook Express. > > I think it is a microsoft issue. Because when I write a long email in OE, > and send it to myself, I get it as an attachment. > > If I write it in Eudora, and pick up my mail with Eudora, it comes as one > message, no attachment, but if I check mail in OE, it suddenly adds the > message as an attachment. > > So, I don't think you can get around this with PHP functions, because I > doubt the issue lies there. > > On 4/3/01 3:50 AM, "Tom Pinder" <php_general@renewable.co.uk> wrote: > > > I'm using PHP to send emails. The problem I have is that when the emails > > reach a certain length, the emails are sent with the email contents as an > > attachment, not as part of the body. > > > > I've looked thru all the mailing lists, but I can't find a reference to a > > similar problem. Has anyone come across this before? > > > > Is there is any way to control this behaviour? Is there a way of forcing > > mail() or imap_mail() to include the contents in the email body? > > > > imap_mail ($testAddress, $title, $emailContents, "from:user@domain.org.uk"); > > mail ($testAddress, $title, $emailContents, "from:user@domain.org.uk"); The issue probably lies (as Lindsay said) in Outlook express, more accurately in the memo box type that is being used. Microsoft has a terrible habbit of (in their 'free' stuff atleast) using the Memo box (which has a limit of 32kb) for quick-view types of things. Anything over that and you'd see what you are. bkx

« previous php.general (#47370) next »