Author |
|
claritytech Newbie
Joined: 16 July 2009
Online Status: Offline Posts: 1
|
Posted: 16 July 2009 at 8:03am | IP Logged
|
|
|
We are trying to forward messages as attachments in a way that Outlook (2007) can open without having to use Outlook Express.
When we add a string or file attachment to a message with a type of message/rfc822, Outlook tries to open it, but doesn't de-code the base64 encoding. I've look at how Outlook sends these messages and it looks like all it's doing is including the raw message without any base64 encoding as a MIME part. Is there any way to get Mailbee objects to not do the base64 encoding and/or otherwise attach a message that Outlook can open?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 16 July 2009 at 9:26am | IP Logged
|
|
|
This code shows how to attach Msg1 to Msg2:
Code:
Set Msg1 = CreateObject("MailBee.Message")
Msg1.ImportFromFile "C:\src.eml"
Set Msg2 = CreateObject("MailBee.Message")
Msg2.AddStringAttachment Msg1.RawBody, False, "", "message/rfc822"
Msg2.SaveMessage "C:\dest.eml"
|
|
|
Regards,
Alex
|
Back to Top |
|
|