cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Configuration of Mail receiver Communication Channel

Former Member
0 Kudos

Hi,

like in /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping for http receiver CC, i am trying to do header customisation, with XHeaderName1 for mail header fields like content-type, content-disposition, but it doesn't works ...

in my mapping i've added :

> (...)

> DynamicConfigurationKey cDisposition = DynamicConfigurationKey.create("http:/""/sap.com/xi/XI/System/Mail", "XHeaderName1");+

> dynaConf.put(cDisposition, "attachment;filename=myFile.txt");

in Communication Channel ASMA i've added variable header : XHeaderName1 --> Content-Disposition

in monitoring i see that XHeaderName1 is filled with attachment;filename=myFile.txt

but in the mail send like this, this configuration has no effect

Someone can help me ?

Edited by: MedAmine on Aug 19, 2009 3:20 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Only one standard mail header field can be influenced: this is indeed "Content-Disposition".

You have done halve way, the only thing you have missed is to set the additional parameter 'OMail.AddContentDisposition' to false within 'Advanced Mode'.

Have a look at this WiKi:

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

Former Member
0 Kudos

I have the same problem, is it possible if you can send me the screenshot of the mapping where the UDF was used.  Thanks in advance.

stefan_grube
Active Contributor
0 Kudos

It is not possible to influence standard mail header fields by ASMA. You can set only additional, user defined header fields.

If possible, use Mailpackage.

Former Member
0 Kudos

Hi,

Maybe this can help you

Regards,

lpbuff