I think gmail uses 465 for smtp, and it requires SSL.  I do not think
the plain SMTP component for Indy includes SSL.  You would probably need
to install OpenSSL...
 
Also, make sure you enabled the gmail account for POP3 access.  It is
disabled by default.

________________________________

From: advanced_delphi@yahoogroups.com
[mailto:advanced_del...@yahoogroups.com] On Behalf Of malak almalak
Sent: Tuesday, February 10, 2009 3:48 PM
To: advanced_delphi@yahoogroups.com
Subject: [advanced_delphi] sending email using indy
components!!!!!!!!!!!



Hello all,
 
I've tried to do simple program to send email to gmail but I've faced
many problems:
1- when I use the default port for smtp which is 25 --> error message
has raised 'error#10060 connection time out'
2- when I use the port 465, the program is running endlessly.
3- when I used the port 587, the exception raised 'Need SASL mechanism
to login with it'
 
What's wrong with my program? Do I need to add somthing to it?
kindly see the program attached.
Your assistance is heavily apprecited.
 
Factsface
    



Reply via email to