Author |
|
wpessoa Newbie
Joined: 11 July 2007 Location: United States
Online Status: Offline Posts: 2
|
Posted: 11 July 2007 at 4:05pm | IP Logged
|
|
|
We are looking for an application that we can install in a mail server that will parse outbound email and convert the body of the HTML email to attachments of that email (with .html extensions). Can this product do this for all messages leaving a specified server?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 12 July 2007 at 7:55am | IP Logged
|
|
|
You can use the code like below:
Code:
' Assume Msg in MailBee.Message instance containing the message you
' need to process
If Msg.BodyFormat = 1 Then
' Body format is HTML
Msg.AddStringAttachment Msg.BodyText, False, "message.html", "text/html"
End If
|
|
|
Regards,
Alex
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 12 July 2007 at 7:57am | IP Logged
|
|
|
The code above processes a mail which already was downloaded. Of course, you cannot modify the message directly on the mail server (mail protocols do no support this and never will because a message is considered atomic unit in email standards). Any modification of an email produces new email.
Regards,
Alex
|
Back to Top |
|
|