|
-
Aug 25th, 2011, 08:53 AM
#1
Thread Starter
Junior Member
Send email with ASP.net application or MS SQL Server ?
Hello,
I'm building an application with asp.net. And I need to send emails to selected customers.
What is the best way to send email ? Is it by using System.Net Class or to send it by using MS Sql Server ?
Thank you
Paul
-
Aug 25th, 2011, 02:10 PM
#2
Fanatic Member
Re: Send email with ASP.net application or MS SQL Server ?
I'd use System.Net.Mail instead of SQL Server to send emails
-
Aug 25th, 2011, 03:10 PM
#3
Re: Send email with ASP.net application or MS SQL Server ?
I do both...
I made a CLR function that uses System.Net.Mail to send mail.
So when writing a query like "select sendemail(email) from my_table" will actually send email to everyone in the table LOL
-
Aug 25th, 2011, 03:13 PM
#4
Re: Send email with ASP.net application or MS SQL Server ?
Hello,
System.Net.Mail would be my choice as well. You can find lots of information about this here:
http://www.systemnetmail.com/
Bear in mind, classes within this namespace assume that you already have an SMTP Server that you can relay messages through.
Gary
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|