cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple mails sending using Mail adapter

0 Kudos
502

Send multiple mails:

Send multiple mails based on the list of materials.

For one Material, I have to send one email. But if I use Mail package, I can only trigger on mail at a time as the occurrence has 1...1 and it’s a standard package.

How can I make the Mail occurrence as 0...unbounded and trigger multiple mails.

Can anyone provide inputs for this.

Kindly suggest if we can achieve it through a Module configuration or BPM. If so provide the solution.

Thanks,

kanth.

Accepted Solutions (0)

Answers (5)

Answers (5)

Dushyant_Garg
Explorer
0 Kudos

You can add a content modifier before mail adaptor and pass all the mail id's and in the mail adaptor, put ${in.body} in to: tab.

0 Kudos

Thanks all for the responses.

Am using java mapping  for this .

iaki_vila
Active Contributor
0 Kudos

Hi Kanth,

A few cents to Satish, you can also follow the procedure described in Michal's blog http://scn.sap.com/community/pi-and-soa-middleware/blog/2005/03/07/mail-adapter-xi--how-to-implement...

If you need to send to multiple receivers, you can try with the multimapping concept.

Regards,

ambrish_mishra
Active Contributor
0 Kudos

Hi,

Through the mail package, you can send mail to multiple recipients. Is that your intention ? In To field, you can have multiple recipients separated by comma.

In case you want to send mails based on materials, you can store Material, email id in Value mapping and retrieve the To list at runtime to send mails to respective recipients.

Hope it helps!

Ambrish

aim_1_s
Member
0 Kudos

please make i flow on it

former_member194612
Active Participant
0 Kudos

Hi kanth,

Hope i understand your question correctly.

You need the dynamic mail address based on the payload details ?

If yes , please go through the below thread - refer 3.2.2

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551...

Thanks,

Satish