cancel
Showing results for 
Search instead for 
Did you mean: 

receiver mail adapter configuration for e-mail attachments

Former Member
0 Kudos

Hi ,

I need to send two files from sender file adapter to receiver mail adapter as e mail attachment.

I want same attachment name in email as on sender side on FTP location.

This is by pass scenario no object created in ESR.Please suggest how to handle this.

For example if file name test.txt is send by file adapter then on mail attachment name should be test.txt

Thanks

Mohit

Edited by: Mohit Verma on Feb 10, 2012 4:18 PM

Accepted Solutions (1)

Accepted Solutions (1)

allamudi_loordh
Active Participant
0 Kudos

u can write custom module and place it in reciever mail adapter.

use this link

http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0SetAttachmentName

Regards,

Loordh.

Answers (2)

Answers (2)

former_member184681
Active Contributor
0 Kudos

Hi Mohit,

Follow this blog for the ID configuration:

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4383

Create Receiver Determination and Interface Determination as described, and add a sender file CC and receiver mail CC according to your needs, plus sender and receiver agreements.

In order to maintain the original file names, use a simple adapter module with the code mentioned here:

http://forums.sdn.sap.com/thread.jspa?threadID=2122711&start=14

Hope this helps,

Greg

Former Member
0 Kudos

Hi ,

I have created Custom module (GetHostName) , nut I am facing this error.

Message processing failed. Cause: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of GetHostName.

Thanks

Mohit

Former Member
0 Kudos