| View previous topic :: View next topic |
| Author |
Message |
Theodoros Guest
|
Posted: Fri Dec 05, 2003 11:09 am Post subject: Socket Error #10060 with TidSMTP |
|
|
"Theodoros" <theodoros.a (AT) cytanet (DOT) com.cy> wrote
I am trying to send an e-mail, using 'TidSMTP' and 'TidMessage' .The problem
is i can't connec't connect to the server.
I get the following error: "Socket Error #10060 Connection timed out."
This is my code:
Mail: TidSMTP;
MailMessage: TidMessage;
Mail.Host := 'mail.isp.com;
Mail.Username := 'myname';
Mail.password := '12345';
Mail.AuthenticationType := atLogin;
Mail.Connect;
Mail.Authenticate;
Mail.Send(MailMessage);
Mail.Disconnect;
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Dec 08, 2003 12:15 am Post subject: Re: Socket Error #10060 with TidSMTP |
|
|
"Theodoros" <theodoros.a (AT) cytanet (DOT) com.cy> wrote
| Quote: | Mail.Host := 'mail.isp.com;
|
Are you using your ACTUAL ISP's server hostname? I assume that your ISP's
domain is not really called "isp.com". Did you verify that the ISP's server
is even running to begin with? Can you connect to it with other email
programs?
| Quote: | Mail.Connect;
Mail.Authenticate;
|
You don't need to call Authenticate() manually, Send() will handle that
internally if the server actually requires authentication.
Gambit
|
|
| Back to top |
|
 |
CheshireCat Guest
|
Posted: Wed Jan 28, 2004 2:38 pm Post subject: Re: Socket Error #10060 with TidSMTP |
|
|
v
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.572 / Virus Database: 362 - Release Date: 27/01/2004
|
|
| Back to top |
|
 |
|