on 11-21-2014 1:40 PM
Hello guys,
We have a requirment for configuring Mail adapter.
Our scenario is an ABAP report writes file(.txt format) to a UNIX folder(AL11 path on the application server) , XI should pick up this file and send as a Mail attachment to a Mail server. My question is , what are the steps that we have to do in XI Mapping part to achieve this scenario.
My source message contains the following fields :
Country,Rate,Count,Value,Date.
Thanks,
Shweta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shweta,
No need to do any mapping here and you can use Integrated Configuration with dummy interface name and namespace.
File Adapter should like following
and Mail Adapter with following Modules...and also check the option 'Keep Attachment'
Update with your file and extension name wherever it shows ‘Sep10.pdf’.
Thanks-
Rams
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your input Rams.
Can you let me know from were you got the ModuleKey TRANSFORM?
Mine is also a similar scenario , file has to be picked up from an AL11 path . Its a .txt file. The file name is "ABC_timstamp.txt" , the 'ABC' and timestamp are dynamically determined. How to capture these type of filenames in the mail adapter?
Regds,
Shweta
Hello Rams,
I have used to DynamicConfiguration Bean in my adapter modules.
The mail subject is populating correctly(Subject is again the attachment name) , but the attachment name is coming as : ATT00001.txt .
Is there an option in the DynamicConfiguration Bean which allows us to read the file name and retain it as the attachment name . Then the Java code would not be required.
Thanks,
Shweta.
Hi Shweta,
Please refer below blog which explains how to retain input file-name and assigning it to file attachment name using some UDF & module configuration.
Regards,
Amit Patil
Hi Shweta,
You can also refer below blog to retain file-name to mail attachment name without using module configuration.
Regards,
Amit Patil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check following link:
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are many blogs on the same topic. Please search
XI/PI: Sending Emails Using XI Mail Adapter
If you have any specific question/any errors during interface development post it here.
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 | |
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.