Re: [twsocket] SSL send emai using gmail?

2011-02-23 Thread Antol
Hello Arno,

Tuesday, February 22, 2011, 3:42:39 PM, you wrote:


 Host: smtp.googlemail.com / or smtp.gmail.com
 Port: 25
 SSL-Type: Explicit
 User: your email address at gmail
 Password: ...
 AuthType: Login //!
 
 Or:
 
 Host: smtp.googlemail.com / or smtp.gmail.com
 Port: 465
 SSL-Type: Implicit
 User: your email address at gmail
 Password: ...
 AuthType: Login //!


I'm  trying  the  second  way because port 25 seems to be blocked by my
ISP.  I made  OverbyteIcsSslMailSnd.exe send mails from google server,
but  now  my  task  is  to replace old smtpcli with sslsmtpcli with as
little  pain as possible. I made it work with my ordinary mail server,
but when I try to send from google, I receive the following error:

Error SSL Handshake failed ESslContextException SSL requires a context object

It  looks like I set all the params like in demo, but still this error
occurs.  What  is the reason? Should I have any additional files in my
application folder to send files with sslsmtpcli?


-- 
Best regards,
 Antolmailto:spama...@mail.ru

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SSL send emai using gmail?

2011-02-23 Thread Arno Garrels
Antol wrote:

 I'm  trying  the  second  way because port 25 seems to be blocked by
 my 
 ISP.  I made  OverbyteIcsSslMailSnd.exe send mails from google server,
 but  now  my  task  is  to replace old smtpcli with sslsmtpcli with as
 little  pain as possible. I made it work with my ordinary mail server,
 but when I try to send from google, I receive the following error:
 
 Error SSL Handshake failed ESslContextException SSL requires a
 context object 

You have to assign a TSslContext object to the SslContext property of
a SSL-enabled ICS component. The easiest way is to drop a TSslSmtpCli
and a TSslContext on the from and assign the SslContext in Object
Inspector. Can be done at run-time as well of course.  

-- 
Arno Garrels


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SSL send emai using gmail?

2011-02-23 Thread Antol
Hello Arno,

Wednesday, February 23, 2011, 9:02:02 PM, you wrote:

AG You have to assign a TSslContext object to the SslContext property of
AG a SSL-enabled ICS component. The easiest way is to drop a TSslSmtpCli
AG and a TSslContext on the from and assign the SslContext in Object
AG Inspector. Can be done at run-time as well of course.  

Thank you, now it works as it should. Now if I add another ssl smtp
client to send error reports, should I add another TSslContext object
to  the  form  as  well, or one TSslContext object can be used for two
different sslsmtpclients simultaneously (withdifferent
host/login/password settings)?





-- 
Best regards,
 Antolmailto:spama...@mail.ru

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SSL send emai using gmail?

2011-02-23 Thread Arno Garrels
Antol wrote:
 Hello Arno,
 
 Wednesday, February 23, 2011, 9:02:02 PM, you wrote:
 
 You have to assign a TSslContext object to the SslContext property of
 a SSL-enabled ICS component. The easiest way is to drop a TSslSmtpCli
 and a TSslContext on the from and assign the SslContext in Object
 Inspector. Can be done at run-time as well of course.
 
 Thank you, now it works as it should. Now if I add another ssl smtp
 client to send error reports, should I add another TSslContext object
 to  the  form  as  well, or one TSslContext object can be used for two
 different sslsmtpclients simultaneously (withdifferent
 host/login/password settings)?

One is enough, and it's only required if the component actually uses SSL.

-- 
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SSL send emai using gmail?

2011-02-23 Thread Antol
Hello Arno,

Thursday, February 24, 2011, 9:17:46 AM, you wrote:

AG One is enough, and it's only required if the component actually uses SSL.


Thanks. By the way, maybe it will be interesting to other users, I made some 
tests with smtp.gmail.com:

Google states this:

Port for TLS/STARTTLS: 587
Port for SSL: 465

I found that:

Port 587 works with STARTTLS option only.
Port 465 works with TLS option only.

Other combinations don't work, at least on my system...

-- 
Best regards,
 Antolmailto:spama...@mail.ru

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SSL send emai using gmail?

2011-02-23 Thread Antol
Hello Arno,

Is  it  possible  to prevent SMTP component from hanging? I mean, when
something  goes  wrong,  for  example I set port 465 and STARTTLS, the
component  hangs  and  even after I call smtp.abort and then try to do
something  new with it,  there  appears a window that says SMTP component not
ready, and it hands until I close the application and restart it. Is
there any safe way to reset the component completely during runtime?


-- 
Best regards,
 Antolmailto:spama...@mail.ru

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Do you see this error in BCBXE projects?

2011-02-23 Thread Fastream Technologies
Hello,

http://www.fastream.com/ics/ICSXEError.png

I have just installed BCB-XE trial. ICS-runtime package installed well but
our project does not compile, complaining for ICSUtils.hpp.

Any solution?

Best Regards,

SubZero
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be