cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning email address for recurring schedule in BO SDK

0 Kudos

Hi,

we have requirement where users are using semicolon as delimiter for email address in recurring schedule, we need to replace semicolon with comma.

I am able to retrieve email addresses from recurring schedules and concatenate with comma in BO SDK, But i am not able assign comma email address back to recurring schedule.

Can any one help me with code.

Thank you

Sowmya

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member230921
Active Contributor
daniel_paulsen
Active Contributor

Hi Locke,

were you able to resolve this?

Which SDK are you using?
You should be able to add recipients as follows:

    //Retrieve the list of SMTP recipients. 
    List recipients = smtpOptions.getToAddresses();
    recipients.add("recipient1@example.com");
0 Kudos

Hi Daniel,

I tried this code to add recipients but its doesnt add in recurring schedule, But i can see him in query builder query.

Recuring schedule shows blank in recipients in Laundpad recurring schedule.

SI_DESTINATIONSSI_TOTAL1SI_PROGIDCrystalEnterprise.SmtpSI_DEST_SCHEDULEOPTIONSSI_SENDER_NAMESI_MAIL_MESSAGESI_MAIL_SUBJECT%SI_NAME%SI_MAIL_ADDRESSES1abc@example.com SI_MAIL_CC SI_TOTAL SI_MAIL_BCC SI_TOTAL SI_SMTP_ENABLEATTACHMENTStrue SI_ENABLE_SSLfalse SI_OUTPUT_FILES SI_TOTAL1SI_MIME_TYPESI_EMBED_NAME SI_ADD_FILE_EXTENSIONfalse
former_member230921
Active Contributor
0 Kudos

sample code is available in below question-answer discussion :

https://answers.sap.com/questions/505962/update-destination-details-of-email-and-mail-alert.html

0 Kudos

Thank you Mahesh, finally it worked.