Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: HTML formatting issues Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
derekeder
Newbie
Newbie


Joined: 06 January 2011
Online Status: Offline
Posts: 1
Posted: 06 January 2011 at 3:34pm | IP Logged Quote derekeder

--Setup--
We have a listserv set up that is powered in part by MailBee.NET. A mailbox is
read from using MailBee POP3 and then the messages are distributed to a subscriber
list using AspEmail (an email sending tool by Persits Software).

--The Problem--
A few subscribers have complained that some HTML formatting is showing up in their
messages - particularly the infamous Outlook '<p class=MsoNormal>'. Some other
special characters are showing up as '?' as well. This only seems to effect
specific mail clients, namely Mac Mail. The messages look fine when viewing in
Gmail.

--The Code--
For all messages, I am using the following code to ensure there is an HTML version
of the body:

msg.Parser.PlainToHtmlMode = PlainToHtmlAutoConvert.IfNoHtml;
msg.Parser.PlainToHtmlOptions = PlainToHtmlConvertOptions.UriToLink;
msg.Parser.Apply();

Could this be causing the issue, or is it a question of encoding the outgoing
emails properly? The tool I'm using to send the emails (AspEmail) is sending in
HTML format.

Thanks in advance,
Derek
Back to Top View derekeder's Profile Search for other posts by derekeder
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 10 January 2011 at 2:51am | IP Logged Quote Igor

The first thing to try is supplying Charset in the message explicitly; we
recommend to use UTF-8 which is a default charset for many email clients.

If that doesn't help, try saving the message before passing it to AspEmail and
compare it with the message which was actually sent to recipient; some header(s)
is/are probably not in place.

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

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