Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: Forwarding as Attachment Post ReplyPost New Topic
Message << Prev Topic | Next Topic >>

Joined: 16 July 2009
Online Status: Offline
Posts: 1
Posted: 16 July 2009 at 8:03am | IP Logged Quote claritytech

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 View claritytech's Profile Search for other posts by claritytech
AfterLogic Support
AfterLogic Support

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 16 July 2009 at 9:26am | IP Logged Quote Alex

This code shows how to attach Msg1 to Msg2:

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"

Back to Top View Alex's Profile Search for other posts by Alex

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide