cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic file name as mail attachment in receiver Mail Adapter?

Former Member
0 Kudos

Hi,

Can any one tell the possibility of attaching file as a mail attachment without using mail Package with dynamic filename.

Business requirement is to send error response as mail attachment with dynamic name.

Ex: Error_Response_20110802_13.24 where 20110802 is Date and next part represents time stamp.

File attachment name should change dynamically in Mail receiver Adapter. Thanks

Regards,

Sreeramulu Konjeti.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Have a look at this Wiki too, if you are not willing to use mail package...

http://wiki.sdn.sap.com/wiki/display/ESOAInfrastructure/Dynamic+Email+Attachment+name+for+Received+M...

former_member463616
Contributor
0 Kudos

Hi,

Please see the below thread. This will close to solve your issue.

Regards,

P.Rajesh

Shabarish_Nair
Active Contributor
0 Kudos

there is no standard way.

you will have to write a module to get this in place.

other ways are;

XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping - /people/stefan.grube/blog/2007/04/17/xi-mail-adapter-an-approach-for-sending-emails-with-attachment-with-help-of-java-mapping

Dynamic name in the mail attachment - pseudo "variable substitution" :

/people/michal.krawczyk2/blog/2006/02/23/xi-dynamic-name-in-the-mail-attachment--pseudo-variable-substitution