YHDown 0 Newbie Poster

I have a problem sending emails correctly.

Currently the system i am developing sends emails using CDO message.
i have a gridview containing the values i need to send in the email(assume value1,value2,value3,...,recipient's email).

Once i check the checkboxes located at the last column of the gridview (i placed checkbox in templeate field),the system will send emails to the recipient with the values in that particular row.

If the recipients that i checked is the same then it will place all the values of different rows into 1 email only. For example, if i check 3 rows with similar recipient then 1 email will be sent out with values of the 3 rows instead of 3 emails.

If the recipients that i checked is different then it will be a few emails.Example:
i checked 2 rows, 1 is abc@xxx.com and another is xyz@zzz.com then 2 emails will be sent with corresponding values.

Hope you guys can understand what i mean here.
Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.