|
 |
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 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 .
|
 |
|
|
 |

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
Points: 72,055, Level: 100 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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
Points: 72,055, Level: 100 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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
Points: 72,055, Level: 100 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |
All times are GMT -4. The time now is 02:18 AM.
|