Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: vbboyd
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB March 6th, 2012, 10:12 PM
Replies: 5
Views: 1,273
Posted By vbboyd
How is it done?

Sorry I am so very confused here. My bad. I probably did not make myself too clear. All I want to do is to make it so that "to address of the code is not hard coded like you have done in your code...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB March 6th, 2012, 09:37 PM
Replies: 5
Views: 1,273
Posted By vbboyd
All I am really trying to do is.....

Given your code from chapter 9

string fileName = Server.MapPath("~/App_Data/ContactForm.txt");
string mailBody = File.ReadAllText(fileName);
string emailsend = EmailAddress.Text;

...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB March 6th, 2012, 07:45 PM
Replies: 5
Views: 1,273
Posted By vbboyd
I also wanted to include a concert pic at the top...

I also wanted to include a concert pic at the top of the newsletter of the concert performer in addition to the concert event and the performance information using the following code:


...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB March 6th, 2012, 07:34 PM
Replies: 5
Views: 1,273
Posted By vbboyd
No matter what I try this code will not work also!

protected void sendNewsletterButton_Click(object sender, EventArgs e)
{
SmtpClient smtpClient = new SmtpClient();
MailMessage message = new MailMessage();
// Try to send the message...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB March 6th, 2012, 05:57 PM
Replies: 5
Views: 1,273
Posted By vbboyd
SMTP Email problems

using the following code in the code behind file does not work:



protected void SendEmail(object sender, EventArgs e)
{
SmtpClient smtpClient = new SmtpClient();
MailMessage...
Showing results 1 to 5 of 5

 


All times are GMT -4. The time now is 12:28 PM.


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