Hi all,
How can I create an apps where I can send e-mail using the e-mail address I have on my database. this e-mail will be send out to all of them at the same time. Like creating a group e-mail. thanks
.Net 1.1 uses the System.Web.Mail namespace.
.Net 2.0 uses the System.Net.Mail namespace.
set the smtp settings
create a new MailMessage
set the properties of the message (subject, body, To, BCC, CC, from)
pass the message the SMTP.SendMail function.
if your sending out a message like a mailing list you may want to concider either emailing yourself with the clients BCC'd or sending each person their own message.
another solution is to configure an email address to forward messages to a group of people. I don't know exactly how to go about this programatically. somehow you need to interface with the stmp server to configure the forwarding@mydomain.com to forward to your list of email addresses.
I would assume if your client list is 100s of addresses this would be the better option. put the heavy lifting on the smtp server to forward messages instead of the application BCCing everyone.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.