on 02-06-2009 7:17 PM
Hi friends,
I have a scenario where I need to pick an .xls file from a folder and send this as an attachment in mail. I was able to achieve upto this point where I'm picking up the file and sending it as an attachment in the email using MessageTransformBean.
But im not sure how to set the content of the mail. I file I picked should go as an attachment and I need to specify the content of the file also which is always constant string.
for ex: " this is the content of the mail"
Thanks,
Bhargav
Hi,
What are you doing with attacments in the X I. Can you post more details on this
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Configure your sender file adapter for additional files and send this xls as attachment. In the mapping use a simple message type which has a single field and has ur constant mail body data. In the mail adapter check keep attachments and use XIPAYLOAD as message protocol.
You should b all set. I do not think u need to use message transform been. You might want to search the forum for sudhir porumamilla's blog for sending attachments using file adapters.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.