cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Adapter

Former Member
0 Kudos

Hi All,

Could any one please help me out???

Data arriving in files attached to an email. The data is in an unstructured format . As a rule XI does not "do" unstructured data. Some Java code has been written to fish out the data from the files.how would I configure the XI email adapter to call this custom Java code to pass what had been divined from the generic unstructured data into the main XI processing.

Regards,

Smith.

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Create a Adapter Module that can be used in the sender mail adapter to convert the data coming in from your mail attachment into the corresponding XML payload.

If you want to act on the Attachment, then before calling this custom adapter module , you might have to use Payload Swap Bean to swap the Attachment and the main payload before calling this custom module.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

Thanks alot for your prompt response.

Could you explain this payload swap bean bit in detail please..

Regards

bhavesh_kantilal
Active Contributor
0 Kudos

Michal has shown the use of Payload swap bean in this blog of his,

/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step

Regards

Bhavesh

Answers (0)