[jira] [Updated] (NIFI-1912) PutEmail doesn't send formatted email when there is an attachment with the message

2016-10-07 Thread Michael Moser (JIRA)

 [ 
https://issues.apache.org/jira/browse/NIFI-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Moser updated NIFI-1912:

Fix Version/s: (was: 0.8.0)
   0.7.1

> PutEmail doesn't send formatted email when there is an attachment with the 
> message
> --
>
> Key: NIFI-1912
> URL: https://issues.apache.org/jira/browse/NIFI-1912
> Project: Apache NiFi
>  Issue Type: Bug
>Affects Versions: 0.6.1
>Reporter: Ravi Bhushan Ratnakar
>Assignee: Pierre Villard
>Priority: Critical
> Fix For: 1.1.0, 0.7.1
>
>
> When I am trying to send formatted email with an attachment using PutEmail 
> processor, all the html tags are displayed as it is like a text(This).
> After going through the code what i observed that when there is an 
> attachment, in that case content type is hard coded to 'text/plain'. Below 
> code  snippet from PutEmail 
> if (context.getProperty(ATTACH_FILE).asBoolean()) {
> final MimeBodyPart mimeText = new 
> PreencodedMimeBodyPart("base64");
> mimeText.setDataHandler(new DataHandler(new 
> ByteArrayDataSource(
> Base64.encodeBase64(messageText.getBytes("UTF-8")), 
> "text/plain; charset=\"utf-8\"")));



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (NIFI-1912) PutEmail doesn't send formatted email when there is an attachment with the message

2016-10-06 Thread Andre (JIRA)

 [ 
https://issues.apache.org/jira/browse/NIFI-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andre updated NIFI-1912:

   Resolution: Fixed
Fix Version/s: 0.8.0
   Status: Resolved  (was: Patch Available)

> PutEmail doesn't send formatted email when there is an attachment with the 
> message
> --
>
> Key: NIFI-1912
> URL: https://issues.apache.org/jira/browse/NIFI-1912
> Project: Apache NiFi
>  Issue Type: Bug
>Affects Versions: 0.6.1
>Reporter: Ravi Bhushan Ratnakar
>Assignee: Pierre Villard
>Priority: Critical
> Fix For: 1.1.0, 0.8.0
>
>
> When I am trying to send formatted email with an attachment using PutEmail 
> processor, all the html tags are displayed as it is like a text(This).
> After going through the code what i observed that when there is an 
> attachment, in that case content type is hard coded to 'text/plain'. Below 
> code  snippet from PutEmail 
> if (context.getProperty(ATTACH_FILE).asBoolean()) {
> final MimeBodyPart mimeText = new 
> PreencodedMimeBodyPart("base64");
> mimeText.setDataHandler(new DataHandler(new 
> ByteArrayDataSource(
> Base64.encodeBase64(messageText.getBytes("UTF-8")), 
> "text/plain; charset=\"utf-8\"")));



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (NIFI-1912) PutEmail doesn't send formatted email when there is an attachment with the message

2016-09-29 Thread Pierre Villard (JIRA)

 [ 
https://issues.apache.org/jira/browse/NIFI-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard updated NIFI-1912:
-
 Assignee: Pierre Villard
Fix Version/s: 1.1.0
   Status: Patch Available  (was: Open)

> PutEmail doesn't send formatted email when there is an attachment with the 
> message
> --
>
> Key: NIFI-1912
> URL: https://issues.apache.org/jira/browse/NIFI-1912
> Project: Apache NiFi
>  Issue Type: Bug
>Affects Versions: 0.6.1
>Reporter: Ravi Bhushan Ratnakar
>Assignee: Pierre Villard
>Priority: Critical
> Fix For: 1.1.0
>
>
> When I am trying to send formatted email with an attachment using PutEmail 
> processor, all the html tags are displayed as it is like a text(This).
> After going through the code what i observed that when there is an 
> attachment, in that case content type is hard coded to 'text/plain'. Below 
> code  snippet from PutEmail 
> if (context.getProperty(ATTACH_FILE).asBoolean()) {
> final MimeBodyPart mimeText = new 
> PreencodedMimeBodyPart("base64");
> mimeText.setDataHandler(new DataHandler(new 
> ByteArrayDataSource(
> Base64.encodeBase64(messageText.getBytes("UTF-8")), 
> "text/plain; charset=\"utf-8\"")));



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)