Subject: Send email & submit to DB at same time
Posted By: brettdalldorf Post Date: 7/1/2005 5:32:59 AM
Hi

I am creating a feedback form and I need it to do the follwing:


1.on buttonclcick send a text email to feedback@example.com
2. If the user asks for email updates check to see if the user is already in the database and if no, insert this info into the db.

I really dont even know where to start, I am using .NET and C#

Any links or help would be appriciated.

Thanks
Brett Dalldorf

Reply By: planoie Reply Date: 7/1/2005 7:58:08 AM
Generate the email with the System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail class.

Then you can do the database actions.

-Peter
Reply By: brettdalldorf Reply Date: 7/2/2005 8:49:24 AM
Okay thanks, I am making headway now.

Brett


Go to topic 32384

Return to index page 518
Return to index page 517
Return to index page 516
Return to index page 515
Return to index page 514
Return to index page 513
Return to index page 512
Return to index page 511
Return to index page 510
Return to index page 509