Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: Open a downloaded message Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
sfwebs
Newbie
Newbie


Joined: 23 March 2017
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 23 March 2017 at 8:55am | IP Logged Quote sfwebs

Hey everyone,

I wondered, is it possible to open a message file and read it using MailBee POP3, or does the message have to come over POP3?

I've been trying the below, but not seeming to work:

Set objMsg = CreateObject("MailBee.POP3")
objMsg.LicenseKey = XXXXXXXXX
objMsg.Message.ImportFromFile "C:\path\to\email.msg"
response.write(objMsg.Subject)

Thanks for any pointers,
Dan
     
            
Back to Top View sfwebs's Profile Search for other posts by sfwebs
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 23 March 2017 at 9:13am | IP Logged Quote Alex

Hi,

Set objMsg = CreateObject("MailBee.Message")
objMsg.ImportFromFile "C:\path\to\email.msg"
response.write(objMsg.Subject)

Be sure, however, that your app is allowed to read from the specified location. ASP can be quite restrictive by default.

Also, be sure that your .msg file contains email in human-readable MIME format (the common extension is .EML). .MSG files are usually MS Office emails in its proprietary binary format.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
sfwebs
Newbie
Newbie


Joined: 23 March 2017
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 23 March 2017 at 10:29am | IP Logged Quote sfwebs

Thank you so much Alex...no wonder it wasn't working...I was using the wrong tool in the first place!
Dan
Back to Top View sfwebs's Profile Search for other posts by sfwebs
 

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