Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 5th, 2010, 12:24 PM
Authorized User
 
Join Date: Jan 2010
Location: UK
Posts: 14
Thanks: 4
Thanked 1 Time in 1 Post
Default Email configuration Ch 9 p309

Hi Imar,

I've been having some issues with this, in common with other contributors to this excellent Forum.

Tried a number of solutions and suggestions in those threads and finally came across your reference to
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=505 This was really helpful and finally resolved my problems with Gmail.

I had originally looked at the Google article Configuring other mail clients which helped me locate the required port number, or so I thought. I was under the impression that it was necessary to use the SSL port, #465, but although this did not raise any compile errors the page request timed out.

Once I saw your code and used port #587, the port for TLS/STARTTLS, everything went smoothly.

Just to help clarify my own thought processes, why did the SSL port fail and the TLS/STARTTLS port succeed? If I hadn't read your document I don't think I would have tried that option, because it didn't, at least superficially, match the requirement for SSL.


(As a matter of interest, I found some SMTP port settings for Gmail and Hotmail on http://www.emailaddressmanager.com/t...-settings.html

This suggested SSL port #465 for Gmail. As noted above this did not work.

It also suggested the smtp setting for Hotmail as port #25, using smtp.live.com This was successful, so now I can access two different providers. Can't face the thought of Yahoo, in its various incarnations just yet!)
__________________
Alan.
Reply With Quote
  #2 (permalink)  
Old February 5th, 2010, 12:38 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
why did the SSL port fail and the TLS/STARTTLS port succeed?
I don't know, really. I guess just someone at Google decided to use a differnet port number.

Glad it's working now. In my new book I am spending a bit more time on this, now I discoverd how many people run into this.

Cheers,

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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search ch 13, ch 16 sporik BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 0 October 27th, 2009 04:44 PM
Ch. 11 Email setup question amenne20 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 October 1st, 2006 04:04 PM
Ch. 11 Email setup question amenne20 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 October 1st, 2006 04:03 PM
Unable to implement EMail as per Ch. 15 VictorVictor BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 February 28th, 2006 01:47 PM
Ch. 4 & Ch. 12 athena BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 July 23rd, 2004 10:54 AM



All times are GMT -4. The time now is 09:28 AM.


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