BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Socket Error #10060 with TidSMTP

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Theodoros
Guest





PostPosted: Fri Dec 05, 2003 11:09 am    Post subject: Socket Error #10060 with TidSMTP Reply with quote




"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





PostPosted: Mon Dec 08, 2003 12:15 am    Post subject: Re: Socket Error #10060 with TidSMTP Reply with quote




"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





PostPosted: Wed Jan 28, 2004 2:38 pm    Post subject: Re: Socket Error #10060 with TidSMTP Reply with quote




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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.