cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Salvetti (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COCOON-1693) When using src parameter on sendMail action, body is included as attachment, and when using body parameter, mimeType is always text/html
Date Tue, 22 Nov 2005 15:10:43 GMT
    [ http://issues.apache.org/jira/browse/COCOON-1693?page=comments#action_12358248 ] 

Marc Salvetti commented on COCOON-1693:
---------------------------------------

I changed 3 files :
MailMessageSender.java
MailSender.java
SendMail.java

Basically, i added a "bodyMimeType" parameter to the action, and checked if this attribute
is set, use the setContent(body, mimeType) method rather than the setText(body, charset) method.

> When using src parameter on sendMail action, body is included as attachment, and when
using body parameter, mimeType is always text/html
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: COCOON-1693
>          URL: http://issues.apache.org/jira/browse/COCOON-1693
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Mail
>     Versions: 2.1.8
>     Reporter: Marc Salvetti
>     Priority: Minor
>  Attachments: MailMessageSender.java, MailSender.java, Sendmail.java
>
> If using the src parameter, the body is included as an attachment (the header Content-disposition=attachment)
is set.
> Moreover, when trying to stick some html in the body parameter, the mimeType is always
text/html.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message