Author |
|
Guests Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 23 February 2004 at 6:49pm | IP Logged
|
|
|
Does this component provide a method to store email messages to a folder or mailbox?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 24 February 2004 at 7:11am | IP Logged
|
|
|
MailBee POP3 component allows you to save messages to disk through SaveMessage method of the Message object.
ASP example follows:
Dim Mailer, Msg
Set Mailer = Server.CreateObject("MailBee.POP3")
Mailer.LicenseKey = "put your license key here"
If Mailer.Connect ("mailserver.com", 110, "MyName", "MyPassword") Then
If Mailer.MessageCount > 0 Then
Set Msg = Mailer.RetrieveSingleMessage(1)
If Not Msg Is Nothing Then
Msg.SaveMessage "C:\Docs\msg.eml"
End If
End If
Mailer.Disconnect
End If
|
Back to Top |
|
|