Send e-mail

  • 11 years ago

    Hi, I'm making an application which have to send massive e-mail. I have got an sql Expres database with e-mails which shows inside application and what I need is that to have one text box and a button and when I click to button to send what I write inside textbox through E-Mails to all emails on datagrid.


    P.S. Please help cause its urgent !!!!!


    Thank You in advance

  • 11 years ago


    u can do this using the object of mailmessage class. using the cellclick event of datagrid post all ur email id's to a text box with a comma between them.then get them as a string into the to address proprty of the mailmessage object.


    Note: the 'to' address property of he mailmessage object accepts, as its value, a lot of mail id's with commas between them.

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC. As potential programmers, they are mentally mutilated beyond hope of regeneration.” - E. W. Dijkstra