Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 send an email

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-08-10 : 09:42:28
manishkumar1980 writes "how to send an Email as we click on a button in .net with html attached.

Email shld be automatically fired

Pls Help"

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2006-08-10 : 09:50:33
you need a SMTP server and look at following namespace:
.net 1.x - System.Web.Mail
.net 2.0 - System.Net.Mail



Go with the flow & have fun! Else fight the flow
blog thingie: http://weblogs.sqlteam.com/mladenp
Go to Top of Page

asad
Starting Member

16 Posts

Posted - 2006-08-23 : 00:53:59
you have to use hmtp server and configure it in web.config file...e.g..define a variable like fromEmail in which u define from email address and then sendEmail in which u define which one u send email... third variable like that SMTP in which u define the mail server...

asad
Go to Top of Page
   

- Advertisement -