Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 21st, 2011, 06:42 AM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default What should be the programming so that email get delivered in two emil ids ?

I am learning asp.net using your book.
I have created the the feedback form just like mentioned in the book. But I would like to add one feature in it so that when user fill the form and click on submit button the data of form get delivered in two emil ids. I tried by putting commas between two email ids but it do not works. please help me.

MailMessage myMessage = new MailMessage();
myMessage.Subject = "Response from web site";
myMessage.Body = mailBody;

myMessage.From = new MailAddress("santosh@yahoo.com", "Santosh Kumar");
myMessage.To.Add(new MailAddress("options@gmail.com,second_email@yahoo. com", "Santosh Kumar"));

SmtpClient mySmtpClient = new SmtpClient();

lblMessage.Visible = true;
FormTable.Visible = false;

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IDs can't start with a number acr.repair ASP.NET 3.5 Basics 4 January 12th, 2010 03:53 PM
where is the "delivered by Report server E-mail" yuqlin BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 June 29th, 2008 05:06 PM
ids dhoward VB.NET 2002/2003 Basics 4 December 17th, 2007 05:46 PM
Email IDs rohit_ghosh Excel VBA 2 July 16th, 2007 03:57 PM
Dialog Help Ids sumeetpm Visual C++ 0 October 31st, 2006 03:19 PM

All times are GMT -4. The time now is 08:40 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.