Re: [twsocket] DomainKeys/DKIM signature

2012-04-01 Thread Arno Garrels
Paul wrote: > When it's best to use a TSslDynamicLock or TSslStaticLock ? I used TSslStaticLock. TSslDynamicLock is untested and might leak memory if property Enabled was set to False while any _dynamically allocated lock-objects still exist, however I think that does not happen yet since OpenSSL

Re: [twsocket] DomainKeys/DKIM signature

2012-04-01 Thread Paul
When it's best to use a TSslDynamicLock or TSslStaticLock ? Paul - Original Message - From: "Arno Garrels" To: "ICS support mailing" Sent: Saturday, March 31, 2012 12:01 PM Subject: Re: [twsocket] DomainKeys/DKIM signature Max Terentiev wrote: One

Re: [twsocket] DomainKeys/DKIM signature

2012-03-31 Thread Arno Garrels
Max Terentiev wrote: > > One more question: looks like OpenSSL contains all necessary > functions (RSA and SHA-256 ciphers). > > But can I use this functions inside my sending threads ? > It's thread safe ? OpenSSL is not thread-safe unless you provide callbacks for the required locking. The com

Re: [twsocket] DomainKeys/DKIM signature

2012-03-31 Thread Max Terentiev
ts.org [mailto:twsocket-boun...@elists.org] On > Behalf Of Francois Piette > Sent: Saturday, March 31, 2012 1:20 PM > To: 'ICS support mailing' > Subject: Re: [twsocket] DomainKeys/DKIM signature > > > One more question: looks like OpenSSL contains all necessary functions

Re: [twsocket] DomainKeys/DKIM signature

2012-03-31 Thread François Piette
> One more question: looks like OpenSSL contains all necessary functions (RSA and SHA-256 ciphers). > But can I use this functions inside my sending threads ? > It's thread safe ? Yes you can if you use the SSL enabled ICS components (Add use_ssl to the defines for your project and recompile every

Re: [twsocket] DomainKeys/DKIM signature

2012-03-31 Thread Max Terentiev
On > Behalf Of Arno Garrels > Sent: Friday, March 30, 2012 8:50 PM > To: ICS support mailing > Subject: Re: [twsocket] DomainKeys/DKIM signature > > Max Terentiev wrote: > > Hi, > > > > > > > > My app uses TSmtpCli for sending messages. > > &

Re: [twsocket] DomainKeys/DKIM signature

2012-03-30 Thread Arno Garrels
Max Terentiev wrote: > Hi, > > > > My app uses TSmtpCli for sending messages. > > > > Does ICS contain any function or components for adding DomainKeys or > DKIM > > signature in to headers of my messages ? How to add custom header lines is demonstrated in the OverbyteIcsMailSnd demo, but