Click here to Skip to main content
16,017,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working on project asp.net vb. I want to send mail to all registerd users, and Those email id as stores in database tables..

Pl's help me?......
Posted

system.net.mail example[^]

Assuming you have access to a mail server / smtp gateway, you can use system.net.mail to send out emails
 
Share this answer
 
There is a generic routine for that here: Sending an Email in C# with or without attachments: generic routine.[^] It's is C#, but the translation is pretty simple.

Be aware though, that some web hosts will monitor the outgoing email frequency and count, and may shut you down if they think you are looking like a spambot - so you might not want to send too much, too quick.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900