Return-Path:
Delivered-To: apmail-commons-issues-archive@minotaur.apache.org
Received: (qmail 25516 invoked from network); 5 Apr 2009 21:02:36 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3)
by minotaur.apache.org with SMTP; 5 Apr 2009 21:02:36 -0000
Received: (qmail 63346 invoked by uid 500); 5 Apr 2009 21:02:36 -0000
Delivered-To: apmail-commons-issues-archive@commons.apache.org
Received: (qmail 63246 invoked by uid 500); 5 Apr 2009 21:02:35 -0000
Mailing-List: contact issues-help@commons.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: issues@commons.apache.org
Delivered-To: mailing list issues@commons.apache.org
Received: (qmail 63236 invoked by uid 99); 5 Apr 2009 21:02:35 -0000
Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2009 21:02:35 +0000
X-ASF-Spam-Status: No, hits=-1997.8 required=10.0
tests=ALL_TRUSTED,DEAR_SOMETHING
X-Spam-Check-By: apache.org
Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140)
by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2009 21:02:34 +0000
Received: from brutus (localhost [127.0.0.1])
by brutus.apache.org (Postfix) with ESMTP id E0BF5234C003
for ; Sun, 5 Apr 2009 14:02:12 -0700 (PDT)
Message-ID: <1983539240.1238965332905.JavaMail.jira@brutus>
Date: Sun, 5 Apr 2009 14:02:12 -0700 (PDT)
From: "Siegfried Goeschl (JIRA)"
To: issues@commons.apache.org
Subject: [jira] Commented: (EMAIL-73) Format generated by HtmlEmail
component causing problem
In-Reply-To: <1630299803.1205465724433.JavaMail.jira@brutus>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394
X-Virus-Checked: Checked by ClamAV on apache.org
[ https://issues.apache.org/jira/browse/EMAIL-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695915#action_12695915 ]
Siegfried Goeschl commented on EMAIL-73:
----------------------------------------
Unfortunately I can't find any attachments .... :-(
> Format generated by HtmlEmail component causing problem
> -------------------------------------------------------
>
> Key: EMAIL-73
> URL: https://issues.apache.org/jira/browse/EMAIL-73
> Project: Commons Email
> Issue Type: Bug
> Reporter: Rajarshi
>
> We are facing some problems while we are using Apache HtmlEmail component for sending emails.
>
> The content of the email that we have as part of our application does not have any tags defined. The content defined is as below:
>
>
>
>
>
>
> 13-03-2008
>
>
> Dear Sir/Madam,
>
>
> This is an test email
>
>
>
> This is to test the pre tags
>
>
Yours faithfully,
>
> XYZ
>
>
>
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------
> But as soon as we are using the below code
>
> if (iataMail.isHtmlFormat()) {
> HtmlEmail htmlEmail = new HtmlEmail();
> if (StringUtils.isNotEmpty(iataMail.getMessage())) {
> htmlEmail.setHtmlMsg(iataMail.getMessage());
> }
> // set htmlEmail to email reference
> email = htmlEmail;
> }
>
> the email message is been wrapped with a tag which leads to the extra spaces in the email content when viewed through any mail client
>
> We need your help to find out if this is an issue with the Apache mailing component / something that we need to take care in order to resolve this.
> Please also find attached the content of the email been generated with and without pre tags
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.