Wrox Programmer Forums
| 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 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 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.
 
Old February 5th, 2010, 12:38 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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!




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





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