 |
BOOK: Beginning ASP.NET 4 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

March 5th, 2012, 02:40 PM
|
|
Friend of Wrox
|
|
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
|
|
p. 317 - Sending email from your site
Hi Imar,
I'm a little stuck on this section. I'm working from a laptop at home and currently have verizon for my internet service. I don't have Microsoft Outlook configured because I just use my verizon account for email. How do I get the SMTP server address so I can set up the web.config similar to p. 317?
Thank you.
Tulsi
|
|

March 6th, 2012, 06:04 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
It depends. Verizon may be offering one; not sure. You could also create a Gmail / Hotmail / Yahoo account and use their SMTP server.
Alternatively, just drop the mails on the local disk, as explained on page 318. That's my preferred solution during development.
Cheers,
Imar
|
|

March 6th, 2012, 04:41 PM
|
|
Friend of Wrox
|
|
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
|
|
Thank you for the suggestions. I set up an account with Gmail and used their SMTP server. I was pleasantly surprised at how easy it was to get this working!
After sending the message it takes a while before I get the "Message Sent" message. Is this supposed to happen?
Thank you.
Tulsi
|
|

March 6th, 2012, 04:57 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Did you leave the Sleep code in there?
Imar
|
|

March 7th, 2012, 02:20 PM
|
|
Friend of Wrox
|
|
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
|
|
I don't think I have any sleep code. I did not see any as I was typing in the examples from the book.
Thanks
Tulsi
|
|

March 7th, 2012, 03:02 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Oh, you're right. That's added in Chapter 10.
In that case, it may just be that your network or SMTP server is slow...
Cheers,
Imar
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|

March 7th, 2012, 03:12 PM
|
|
Friend of Wrox
|
|
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
|
|
You're right. I tested the code out today and did not see any delay.
Thank you again.
Tulsi
|
|
 |
|