on 02-09-2016 7:20 PM
hi experts,
I need send to email with attachment file. This attachment must have the name and source type.
Actually i have on email maindocument.xml but the source file is is files.csv
I dont have the mapping... is a dummy interface... please let me if I must create IB objects or in the module I can do this one.
is PI 7.4
Regards
Hi Brians,
Better to do it in java mapping, check below thread
Dynamic filename in receiver mail adapter | SCN
You just need to set the output payload content type in java mapping.
transformationOutput.getOutputHeader().setContentType("text/plain;charset = \"UTF-8\";" + "name=\"" + FileName + "\"");
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AFAIK dynamic filename i.e attachment cant be handled by standard module so this has to be handled in Java mapping or custom module
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nitin,
What ever you have provided the link for mail to file scenario. Is it possible for file to mail scenario. I mean to say that if we sent one File, it had to receive to mail as attachment and the file name should display in the subject line. If it is possible please elaborate.
Regards,
Anji Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please try below link. I hope this will useful to you
File to Mail Receiver with Attachment without mapping
Regards,
Anji Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.