cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to send Email

ramco1917
Participant
0 Likes
406

Hi

  I have below code and there may be multiple receipents . How it can be done .

I dont want to use c# Net Email

string _StrSQL = "SELECT T0.\"Email\" , T0.\"T0.CntctPrsn\" " +
"FROM \"LIVE\".OCPR T0 " +
"INNER JOIN OVPM T1 ON T0.\"CardCode\" = T1.\"CardCode\" " +
"where T1.\"DocEntry\" = 2960";

SAPbobsCOM.Recordset oRecordSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
oRecordSet.DoQuery(_StrSQL);

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Abhishek_Sinha
Participant
0 Likes

Hi

Have you tried creating an email list?

string emailList = string.Join(",", recipientEmails);
Console.WriteLine(emailList);

Thanks

ramco1917
Participant
0 Likes
Hi Sinha , Can u please help with 1 complete sample.