Author |
|
Guests Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 22 September 2005 at 10:03am | IP Logged
|
|
|
Hi guys. I need to send SMTP messages with the "Message-ID" header set to a custom value. The e-mail is to be read by a server embedded in a device that requires the "Message-ID" to be set.
I tried the SMTP.Message.MessageID property and the SMTP.Message.Addheader method (both with 7bit and Quoted-Printable), but MailBee seems to erase the whole "Message-ID" line. I could set other custom headers.
I sniffed the SMTP conversation and that's what I get:
220 Simple Mail Transfer Service Ready.
helo myDomain.com
250 XXXX
MAIL FROM:<name.surname@myDomain.com>
250 OK
RCPT TO:<gateway@myDomain.com>
250 OK
data
354 Start mail input; end with .
MIME-Version: 1.0
From: name.surname@myDomain.com
Reply-To: name.surname@myDomain.com
To: gateway@myDomain.com
Subject: Test Mail
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: MailBee 5.2
Date: Thu, 22 Sep 2005 15:36:28 +0200
This is the message text
.
250 OK
----------------------------------
Thx in advance for your help.
Filippo
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 22 September 2005 at 11:15am | IP Logged
|
|
|
Yes, there was problem with assigning MessageID property in v5.2
You can get the latest version of MailBee.dll which allows setting Message.MessageID property at:
http://www.afterlogic.com/updates/mailbee.zip
Regards,
Alex
|
Back to Top |
|
|
Guests Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 23 September 2005 at 10:22am | IP Logged
|
|
|
Thank you very much!
F.
|
Back to Top |
|
|