Author |
|
Lionello Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 16 February 2006 at 12:31pm | IP Logged
|
|
|
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 |
|
|
Lionello Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 16 February 2006 at 12:34pm | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 16 February 2006 at 1:20pm | IP Logged
|
|
|
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 |
|
|
Lionello Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 17 February 2006 at 2:19am | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 17 February 2006 at 5:44am | IP Logged
|
|
|
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 |
|
|
Lionello Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 17 February 2006 at 11:30am | IP Logged
|
|
|
Thanks
|
Back to Top |
|
|