Author |
|
moizakhter Newbie
Joined: 31 May 2017
Online Status: Offline Posts: 2
|
Posted: 31 May 2017 at 6:10am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 31 May 2017 at 6:17am | IP Logged
|
|
|
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 |
|
|
moizakhter Newbie
Joined: 31 May 2017
Online Status: Offline Posts: 2
|
Posted: 31 May 2017 at 6:48am | IP Logged
|
|
|
Hi,
I'm using mailbee POP3 to fetch email from my gmail account. then using that MailMessage.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 31 May 2017 at 6:51am | IP Logged
|
|
|
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 |
|
|