on 06-03-2008 11:04 PM
Hi All,
I have a scenario file to Mail.
The rquirment is that everytime the file is picked by the adapter a mail needs to be sent.
The email should just have the file name of the file that got picked up by the file adapter but there should be no attachment in the email, just the file name either in subject or in the body of the email.
No Mapping should be used.
Can this be done?
Regards,
XIer
Hi,
You can do the File to Mail scenario as the normal way.
For Receiver side just consider one field as payload and don't map the other fields from File.
You can get the File name with the use of Dynamic configuration. Please refer
Refer this blog. for File to Mail
/people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
Refer for getting file name in mapping
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2664. [original link is broken] [original link is broken] [original link is broken]
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
You need adapter specific message attributes here which is initialized at the time of mapping,since you dont have any mapping involved your only option left is by writing adapter modules.
the other option would be to use scripts instead of XI,its just reading the filename and sending mail.
Thanx
Aamir
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.