|Summary:||Email headers added to messages in MS Outlook|
|Product:||Taglibs||Reporter:||Gabriel J Zimmerman <gabe>|
|Component:||Mailer Taglib||Assignee:||Tomcat Developers Mailing List <dev>|
Description Gabriel J Zimmerman 2002-02-01 20:26:33 UTC
I am using the mailer tag library, and users of MS Outlook who receive email sent by the tag library also get the headers of the message: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Status:
Comment 1 rich 2002-02-11 23:29:06 UTC
You're supposed to get the headers. Whether or not you see them in outlook should depend on settings in the mail client that determine if headers should be viewed or not.
Comment 2 Gabriel J Zimmerman 2003-04-24 18:52:43 UTC
This is not an Outlook setting. This is definately a bug. The reasons I know this are the following: 1) It happens in all Outlook clients 2) The headers appear in the body of the message not as a special display. 3) Headers are not shown in other messages for the people using these Outlook clients. 4) I created a class that used JavaMail to send mail directly (no tags), and it sent the mail to the person and the headers did not appear.
Comment 3 Gabriel J Zimmerman 2003-04-24 20:30:59 UTC
For further information, the headers displayed in the body are shown below as they are shown in the message: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit
Comment 4 Gabriel J Zimmerman 2003-06-11 17:48:34 UTC
Another thing I have noticed and a work around is that if instead of using the setRecipient tags and the subject tag I just use the <mt:mail subject="..." to="..." from="..."> it works fine and does not add the extra headers. Unfortunately, this means for my purposes, I have to change the tld to make the rt value modifiable. Also, the difference in the source between these two methods are that if I use the tags (causing the problem), the source is: <snip> To: Gabe <firstname.lastname@example.org> Subject: My subject Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit </snip> and in the fixed way, the space is removed: <snip> To: email@example.com Subject: My subject Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit </snip>
Comment 5 Martin Cooper 2003-12-09 06:58:53 UTC
Is this perhaps a problem with extra whitespace in the JSP page in which the tags are being used? Could you attach the *exact* JSP code that causes this problem? (Posting it as an attachment to this bug report would be best.)
Comment 6 Martin Cooper 2003-12-09 07:17:15 UTC
Add the taglibs-dev list, so that people can see changes to this bug report.
Comment 7 Martin Cooper 2004-02-02 01:40:53 UTC
I do not see this issue. I have been using Outlook and Outlook Express for testing, and have not been able to reproduce the problem. If you are still seeing this with the most recent version of the taglib, please attach a complete sample JSP page to this bug report, and reopen.