Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: BodyPlainText not generating link Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
moizakhter
Newbie
Newbie


Joined: 31 May 2017
Online Status: Offline
Posts: 2
Posted: 31 May 2017 at 6:10am | IP Logged Quote moizakhter

Hi all,
I'm generating BodyPlainTextusing following code

msg.Parser.HtmlToPlainOptions = HtmlToPlainConvertOptions.AddUriForAHRef | HtmlToPlainConvertOptions.AddUriForImg | HtmlToPlainConvertOptions.AddImgAltText;
msg.Parser.HtmlToPlainMode = HtmlToPlainAutoConvert.IfHtml;
msg.Parser.Apply();

the issue im facing is that when the BodyPlainText is generated it removes all the links in the body.
I followed following documentation link: https://afterlogic.com/mailbee-net/docs/MailBee.Mime.HtmlToPlainConvertOptions.html. It states the if option is msg.Parser.HtmlToPlainOptions = HtmlToPlainConvertOptions.AddUriForAHRef then it will parse the links in the body.

I'm not sure why mailbee.net works in this way? is there any other way to that it would work?

Regards
Back to Top View moizakhter's Profile Search for other posts by moizakhter
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 31 May 2017 at 6:17am | IP Logged Quote Igor

Can we have a look at HTML you're processing?

You can send us the files via HelpDesk:

http://helpdesk.afterlogic.com/

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
moizakhter
Newbie
Newbie


Joined: 31 May 2017
Online Status: Offline
Posts: 2
Posted: 31 May 2017 at 6:48am | IP Logged Quote moizakhter

Hi,
I'm using mailbee POP3 to fetch email from my gmail account. then using that MailMessage.

Back to Top View moizakhter's Profile Search for other posts by moizakhter
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 31 May 2017 at 6:51am | IP Logged Quote Alex

Once received the message (but BEFORE msg.Parser.HtmlToPlainOptions setting or any other action which can affect the message's contents), use msg.SaveMessage to save it into a file.

Please then submit it to our helpdesk for investigation.

Thanks!

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