且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用Mule ESB在smtp中添加多个邮件附件

更新时间:2023-12-06 11:37:10

重复使用< set-attachment attachmentName =value =contentType =/> 为您的Mule消息添加多个附件。在出站电子邮件中应自动将其转换为MIME附件。


I am trying to find out is there a way to add multiple mail attachment in smtp using Mule ESB.I know we can add attachment in Mule message, but I want a way by which we can add multiple attachment in Mule message before the message goes to the outbound smtp endpoint. Is there a way by writing Java code for multiple attachment ?

Thanks in advance....

Use the <set-attachment attachmentName="" value="" contentType="" /> element repeatedly to add several attachments to your Mule message. They should be automatically transformed into MIME attachments in the outbound email message.