Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Read messages saved to .eml files Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
bradykelly
Newbie
Newbie
Avatar

Joined: 24 June 2016
Location: South Africa
Online Status: Offline
Posts: 1
Posted: 24 June 2016 at 1:13am | IP Logged Quote bradykelly

Sorry if this is already answered, but I'm very new to MailBee and running short on time.

I need to quickly inspect mail messages pulled using the MailBee POP3 client, and then saved using 'MailMessage.SaveMessage' to an '.eml' file. All I can see right now is base64 encoded utf-8 strings, so I thought maybe I could use some MailBee component to read these files and let me search the mails bodies for any given string. If I write code, I'll want to write a generic 'client' that either scans a POP3 mailbox or these '.eml' files as a mail source, but shows the same UI for me, the end user in a hurry.
Back to Top View bradykelly's Profile Search for other posts by bradykelly
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 24 June 2016 at 1:55am | IP Logged Quote Alex

If you load an email file with MailMessage.LoadMessage method, you can then search .BodyPlainText and .BodyHtmlText properties for any given string (no matter which way the message was encoded in its raw form).

Regards,
Alex
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