Mail_Mime
| From: | Tony Thomas | Date: | Tue, 22 Jul 2003 04:30:55 +0000 |
| Subject: | Mail_Mime | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6701@lists.php.net to get a copy of this message | ||
Hi Everyone,
I'm trying to use Mail_Mime to send out e-mails with attachments. I've almost got it working, except that for some reason only the attachment shows up. The text doesn't. Here's a sample of an e-mail that I sent. The headers all appear correct, so I can't figure out why the text is not visible.
This may seem slightly off-topic, but I'm hoping that those of you with more experience can 1.) find the problem with the headers, and 2.) help my figure out what I need to change to fix the problem. I'm somewhat inexperienced in both areas. I apologize if I'm leaving out pertinent information. Below is the message with headers:
From someone@example.com Mon Jul 21 23:13:54 2003
Return-Path: < someone@example.com >
Delivered-To: someone@example.com
Received: (qmail 12441 invoked from network); 22 Jul 2003 04:13:53 -0000
Received: from unknown (HELO ninkas.nosdns.com) (207.44.246.49)
by hosting-132-6.phpwebhosting.com with SMTP; 22 Jul 2003 04:13:53 -0000
Received: from nobody by ninkas.nosdns.com with local (Exim 4.20)
id 19eoWz-0006mn-4U
for tony@truetone.org; Mon, 21 Jul 2003 23:13:41 -0500
To: tony@truetone.org
Subject: OK
MIME-Version: 1.0
From: someone@example.com
Content-Type: multipart/mixed;
boundary="=_def3a261a028480ec078b84de299f6f6"
Message-Id: <E19eoWz-0006mn-4U@ninkas.nosdns.com>
Date: Mon, 21 Jul 2003 23:13:41 -0500
--=_def3a261a028480ec078b84de299f6f6
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Hello world.
--=_def3a261a028480ec078b84de299f6f6
Content-Type: application/octet_stream
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="file.pdf"
[base64 encoding here]
--=_def3a261a028480ec078b84de299f6f6--