View Single Post
  #3 (permalink)  
Old April 15th, 2010, 08:04 PM
banditonehundred banditonehundred is offline
Registered User
 
Join Date: Apr 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Imar

I just noticed, I have your Beginning ASP.NET 3.5 book.

Charpter 9, page- 309

1. I created a file called Email.aspx
2. Added the same exact code you specified to a Page_Load Handler, with the exception of my e-mail address and name.
3. In web.Config, I added the following code..

<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network host="smtp.gmail.com" userName="my_ID" password="my password" port="465" />

</smtp>
</mailSettings>
</system.net>

I get a 'timeout' error when I run the Email.aspx page.
Reply With Quote