You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christian Müller (JIRA)" <ji...@apache.org> on 2013/08/20 12:08:51 UTC

[jira] [Commented] (CAMEL-6649) AWS Simple Email Service - add attachment support

    [ https://issues.apache.org/jira/browse/CAMEL-6649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13744827#comment-13744827 ] 

Christian Müller commented on CAMEL-6649:
-----------------------------------------

Why not doing it in the same way as we handle attachments in the Camel Mail component [1]?
In this case, the camel-aws (SES) component should check whether the exchange has an attachment (exchange.getIn().hasAttachments()) an create the RawMessage.

What do you think?

[1] http://camel.apache.org/mail.html
                
> AWS Simple Email Service - add attachment support
> -------------------------------------------------
>
>                 Key: CAMEL-6649
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6649
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-aws
>    Affects Versions: 2.11.1
>            Reporter: Sam Lewis
>
> The current AWS-SES functionality does not support email attachments.
> To send an email with attachments in SES you need to use a RawMessage: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html
> I am thinking the easiest way of implementing this feature is send a raw email if getIn().getBody() is a javax.mail.Message otherwise do the current processing.
> If this seems like a reasonable approach, I would be happy to provide a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira