Re: PHP sending email contents as an attachment, not in the body
| From: | Lindsay Adams | Date: | Tue, 03 Apr 2001 16:28:32 +0000 |
| Subject: | Re: PHP sending email contents as an attachment, not in the body | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46842@lists.php.net to get a copy of this message | ||
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");
>
> Many thanks,
>
> Tom Pinder
>