Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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
 
Old October 10th, 2009, 06:30 AM
Authorized User
 
Join Date: Oct 2009
Posts: 16
Thanks: 8
Thanked 0 Times in 0 Posts
Default Chapter 9

Hi,

First of all, I m a total novice when it comes to asp.net but your book has been a brillaint resources of information.

I use Outlook and hotmail but i m unsure what to enter for the network host value?

Sorry if this is a silly question

<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="Your Name &lt;[email protected]&gt;">
<network host="smtp.yourprovider.com" />
</smtp>
</mailSettings>
</system.net>
 
Old October 10th, 2009, 06:41 AM
Authorized User
 
Join Date: Oct 2009
Posts: 16
Thanks: 8
Thanked 0 Times in 0 Posts
Default Quick Update

I have got the following settings

Incoming server (IMAP)
Incoming server (POP)
Outgoing server (SMTP)

But I am unsure what to enter for the deliveryMethod value

Thanks in advance

Hippo
 
Old October 10th, 2009, 06:41 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Take a look here: http://www.emailaddressmanager.com/t...-settings.html

For host, you probably need to enter: smtp.live.com

In addition to the host you probably need to specifiy a user name and password as well. E.g.:

Code:
 
<smtp deliveryMethod="Network" from=[email protected]>
<network host="smtp.live.com" password="YourPassword" userName="[email protected]"/>
</smtp>
You should replace the entries starting with Your with your own details....

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old October 10th, 2009, 07:53 AM
Authorized User
 
Join Date: Oct 2009
Posts: 16
Thanks: 8
Thanked 0 Times in 0 Posts
Default SMTP

Hi,

Thanks for your speedy response.

I m using the below code

<smtp deliveryMethod="Network" from="[email protected]">
<network host="smtp.google.com" password="password" userName="[email protected]"/>

</smtp>

and getting the below error message from my broswer when I submit data

Mail box unavailable.

When i try the above code with smtp.gmail.com I get an error message when i submit the data that the SMTP requires a secure connection.

Any light you can shed on this would be most helpful

Thanks in adcanve

Hippo
 
Old October 10th, 2009, 07:57 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
I use Outlook and hotmail
If you're using Hotmail, what's that Gmail account doing there?

Take a look at page 310 / 311; it describes the reasons for this error and a fix.

Also, take a look here: Chapter Nine: Must issue a STARTTLS

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
bigyawn_hippo (October 10th, 2009)
 
Old October 10th, 2009, 08:03 AM
Authorized User
 
Join Date: Oct 2009
Posts: 16
Thanks: 8
Thanked 0 Times in 0 Posts
Default Thanks

Hi,

I have created a google mail account as, after researching a th net it seem that alot of examples were with google accounts, sorry for any confusion this may have caused.

Thnks for th info





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6 - Code Download Missing for this Chapter dbaechtel BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 0 August 11th, 2009 11:02 AM
Chapter 2 - End of chapter exercises whizzkid1892 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 July 30th, 2008 12:02 PM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM





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