Search The ForumSearch   RegisterRegister  LoginLogin

MailBee IMAP4

 AfterLogic Forum : MailBee IMAP4
Subject Topic: Mail Subject Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Lionello
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 16 February 2006 at 12:31pm | IP Logged Quote Lionello

Mail subject error!
If the subject is on two lines in the mail headers, the words separation space is removed!!!
Help us to resolve the problem to more soon!

Thanks
Back to Top View Lionello's Profile Search for other posts by Lionello
 
Lionello
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 16 February 2006 at 12:34pm | IP Logged Quote Lionello

Sample:

To: xyz@abc.com
Subject: Mail subject first line
Mail subject second line
Date: Thu, 16 Feb 2006 18:03:19 +0100
Importance: Normal
Back to Top View Lionello's Profile Search for other posts by Lionello
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 16 February 2006 at 1:20pm | IP Logged Quote Alex

To have email clients understand multi-line headers (including Subject), prepend second (and third, etc) line with space (or tab) character when composing mail message:
Code:

To: xyz@abc.com
Subject: Mail subject first line
  Mail subject second line
Date: Thu, 16 Feb 2006 18:03:19 +0100
Importance: Normal


In the code, it may look like:
strSubject = Replace(strSubject, vbCrLf, vbCrLf & " ")
SMTP.Subject = strSubject

However, if you received this mail from external source (i.e. you have no control of how messages are created), this mail is incorrect.

In this case, MailBee and other mail clients (such as MS Outlook Express, etc) will not display second line of subject and will treat that line as a separate header.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
Lionello
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 17 February 2006 at 2:19am | IP Logged Quote Lionello

With the property "Subject" MailBee it returns "Mail subject first lineMail subject second line". It is not correct!
The separation space is removed!

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

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 17 February 2006 at 5:44am | IP Logged Quote Alex

OK, I got an idea. Actually, it was not a bug. Different mail clients process multi-line subjects differently. We now made it in the way how MS Outlook Express does: when second line starts with a space char, it's considered as a real space char; when it starts with Tab char, it's considered only as header continuation indicator and not included into header content.

Please donwload updated version of MailBee.DLL at http://www.afterlogic.com/updates/mailbee.zip

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
Lionello
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 17 February 2006 at 11:30am | IP Logged Quote Lionello

Thanks
Back to Top View Lionello's Profile Search for other posts by Lionello
 

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