cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver Mail adapter to be unbounded

Former Member
0 Kudos

Hi experts, I need to send by receiver mail adapter an unbounded amount of mails. Also, I need to use the Mail Package to implement dynamic mail address.

I'm actually using the xsd posted in note 748024, but it sends only one mail per call.

Thanks in Advance,

Roberto Solotun

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi roberto,

You can specify the address to whom you want to send..

Incase, its unbounded you can try writting an adapter module and deploy the same in adapter engine.

Regards,

Sushama

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi experts, the Rodrigo's solution doesn't solve my problem because I don't need to send a unique text in the content to many people, instead, I need to send multiple text, in the content, to a variety of recipients.

Roberto

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

what about if you define a group of mail.inside this group assing all the recipients. by this way only one mails is sent to many.

Former Member
0 Kudos

Hi,

Did you ever tried this option?

I thnk its not possible to do. Because the Mail Group will be located in the Mail senders settings not in the Mail server...

Any comments are welcome...

Babu

Former Member
0 Kudos

Thanks Shweta, I will try to solve my problem like you, but just wanted to solve it without BPM, if you have any other suggestions would be welcome.

Regards,

Roberto Solotun

Former Member
0 Kudos

I've already tried creating a DT, but never works.

I've already tried to use the multimapping, but never works.

I want to avoid writing my own adapter module, so if u guys have another recommendation, pls let me know.

Regards,

Roberto Solotun

shweta_walaskar2
Contributor
0 Kudos

Hello Roberto,

I was facing the same problem.In our case,XI was picking a CSV file from R/3.This file had multiple records with email id as a field.This CSV file had to be split and records need to be segregated based on email IDs .These records then had to be sent as CSV attachment to respective email IDs.

Mail.xsd doesn't support multiple emails.I could achieve this with two mappings and a BPM:

1) 1:N Message Type of CSV to Message Type of CSV with occurrence 1..unbounded

Here ,I segregate records based on email IDs.

2) 1:1 Message Type of CSV to Mail.xsd

3) A BPM which has a ForEach Block where each split CSV is passed and a mail is sent.

Mapping 1 is used after receive and mapping 2 is used in ForEach Block

Kindly let us know if this helps you.

Thanks.

Regards,

Shweta

former_member200962
Active Contributor
0 Kudos
I'm actually using the xsd posted in note 748024, but it sends only one mail per call.

Yes you can send only one email per call. It can however be send (same email) to more than one person in a call.

What you can do is instead of using the structure given by SAP, develop your own structure (DT) and use it to send the emails.

Mail adapter supports multi-mapping...however the Mail.xsd does not.

Regards,

Abhishek.

Former Member
0 Kudos

Hi,

u can send multiple mails in a single execution of interface using 1:n multimapping...

or u can add the mail list in TO and CC fields of Mail package.

Let us know, whether u want to send multiple files to a single user or multiple user..... i think it shold be multiple user rt??

Babu