Return-Path:
Delivered-To: apmail-commons-issues-archive@minotaur.apache.org
Received: (qmail 23510 invoked from network); 13 May 2010 20:45:06 -0000
Received: from unknown (HELO mail.apache.org) (140.211.11.3)
by 140.211.11.9 with SMTP; 13 May 2010 20:45:06 -0000
Received: (qmail 1358 invoked by uid 500); 13 May 2010 20:45:05 -0000
Delivered-To: apmail-commons-issues-archive@commons.apache.org
Received: (qmail 1245 invoked by uid 500); 13 May 2010 20:45:05 -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 1237 invoked by uid 99); 13 May 2010 20:45:05 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 20:45:05 +0000
X-ASF-Spam-Status: No, hits=-1422.7 required=10.0
tests=ALL_TRUSTED,AWL,DEAR_SOMETHING
X-Spam-Check-By: apache.org
Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 20:45:04 +0000
Received: from thor (localhost [127.0.0.1])
by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4DKiiUc022135
for ; Thu, 13 May 2010 20:44:44 GMT
Message-ID: <29368266.25501273783484481.JavaMail.jira@thor>
Date: Thu, 13 May 2010 16:44:44 -0400 (EDT)
From: "Siegfried Goeschl (JIRA)"
To: issues@commons.apache.org
Subject: [jira] Resolved: (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
[ https://issues.apache.org/jira/browse/EMAIL-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siegfried Goeschl resolved EMAIL-73.
------------------------------------
Assignee: Siegfried Goeschl
Resolution: Cannot Reproduce
Added a test case "HtmlEmailTest#testSendWithPlainTextButNoHtmlContent" but I'm unable to reproduce the problem.
> 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
> Assignee: Siegfried Goeschl
>
> 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.