Author |
|
kanenas.net Newbie
Joined: 05 June 2009 Location: Greece
Online Status: Offline Posts: 3
|
Posted: 05 June 2009 at 7:07am | IP Logged
|
|
|
We are using MailBee ActiveX v.5.6.0.136 Registered version in our asp scripts and we are experiencing a problem with .eml attachments.
In our script we create 2 objects...
Set objPOP3 = Server.CreateObject("MailBee.POP3")
Set Msg &nb sp;= Server.CreateObject("MailBee.Message")
We have an email with .eml attachments files.
In that .eml attachment there are .jpg, .doc, .pps attachements.
Is there a way to retrieve from that .eml attachment these files (.jpg, .doc, .pps, etc) and save them to hard disk drive ?
Please advice
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 05 June 2009 at 7:20am | IP Logged
|
|
|
This documentation page should be useful to you, it contains working example.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 05 June 2009 at 7:24am | IP Logged
|
|
|
If you have a message to be parsed as attachment of another message, you can pass it to Message object using RawBody property.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 05 June 2009 at 7:27am | IP Logged
|
|
|
You'll find an example of RawBody usage here.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
kanenas.net Newbie
Joined: 05 June 2009 Location: Greece
Online Status: Offline Posts: 3
|
Posted: 05 June 2009 at 7:38am | IP Logged
|
|
|
Thanks for the quick reply.
We have already use all of the above and work very well.
I think you misunderstood what we were asking for, so i will try to explain with an example...
We have an email...
From: test@test.com
To: test1@test.com
Subject : This is a test
Attachements : 1.jpg, testing.eml , 2.pps
So...
Inside the testing.eml you will find...
From : kanenas@test.com
To : test3@test.com
Subject : This is another test
Attachments : 123.jpg, 456.jpg, 789.pps
How can i save to hard disk the attachements of the testing.eml !!!?!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 05 June 2009 at 7:48am | IP Logged
|
|
|
You'll need to extract .eml attachment, assign it to Message object through RawBody property and retrieve attachment using SaveFile method.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
kanenas.net Newbie
Joined: 05 June 2009 Location: Greece
Online Status: Offline Posts: 3
|
Posted: 05 June 2009 at 7:53am | IP Logged
|
|
|
Thanks i will try this...
http://www.afterlogic.com/mailbee/docs/SAMPLE_Advanced03.htm
|
Back to Top |
|
|