G
Guru03
Hi, my question is a bit strange.
I use MIME::Entity to prepare email and send them.
I got an email (put it in a string) and I send it.
But when I open it in certain versions of Outlook the body of attached
email is not shown, and in none of these versions I can see the headers
(but From:, To: and Subject: yes).
i.e., a Mail received:
From: (e-mail address removed)
To: (e-mail address removed)
Date: Mon, 16 Feb 2004 10:56:26 +0100
MIME-Version: 1.0
Subject: rqweqwe
Message-ID: <4030A1DA.19777.7C4729@localhost>
Priority: normal
X-mailer: Pegasus Mail for Windows (v4.12a)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
prova
with
$myEmail -> attach (Data => $attachment,
Type => 'message/rfc822');
($myEmail is a MIME::Entity object)
the attachment:
------------=_1076925411-23871-9
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
From: (e-mail address removed)
To: (e-mail address removed)
Date: Mon, 16 Feb 2004 10:56:26 +0100
....
the MIME::Entity->stringify is used to send entire email to sendmail.
What's wrong with it?
I use MIME::Entity to prepare email and send them.
I got an email (put it in a string) and I send it.
But when I open it in certain versions of Outlook the body of attached
email is not shown, and in none of these versions I can see the headers
(but From:, To: and Subject: yes).
i.e., a Mail received:
From: (e-mail address removed)
To: (e-mail address removed)
Date: Mon, 16 Feb 2004 10:56:26 +0100
MIME-Version: 1.0
Subject: rqweqwe
Message-ID: <4030A1DA.19777.7C4729@localhost>
Priority: normal
X-mailer: Pegasus Mail for Windows (v4.12a)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
prova
with
$myEmail -> attach (Data => $attachment,
Type => 'message/rfc822');
($myEmail is a MIME::Entity object)
the attachment:
------------=_1076925411-23871-9
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
From: (e-mail address removed)
To: (e-mail address removed)
Date: Mon, 16 Feb 2004 10:56:26 +0100
....
the MIME::Entity->stringify is used to send entire email to sendmail.
What's wrong with it?