Dne 12.9.2014 9:21, Kostas Rizoudis napsal(a):
- Choose your favorite SSL library and add it to uses clause, eg.
ssl_openssl
- After unsuccessful Login, you should inspect TSMTPSend.Sock.LastError
(it is possible that error has occured before SMTP protocol got a
chance to do anything)
HTH, pf
Re: [Synalist] SMTP send via STARTTLS
Sorry i didn't mention the OS. I'm developing with Delphi 5 (not XE5)
on a windows 7 machine.
Which DLLs are required for a Win32 Environment ?
When i tried the before mentioned example code i got an error. I
expected some kind of missing DLL error, but instead got some
undefined status error.
There is some other thing i was wondering about. In this example i
can't find any code which selects the type of SSL encryption before
the smtp.Login() .
Is STartTTLS really supported ?
> i want to send emails in 2 different Variations
> a: STARTTLS Port 587
> b: TLS Port Port 465
> c: without encryption / no SSL
> a and b do not work. I get an errormessage at smtp.Login(): 'SMTP
ERROR: Login:???-Other undefined Status'
> Are any DLLs required for SSL communication ? If required which ones?
> What configuration is required to change between STARTTLS and TLS ?
> I used this code as an example:
http://www.synapse.ararat.cz/doku.php/public:howto:smtpsend
*> On 9/11/2014 10:33 AM, Kostas Rizoudis wrote:
>> Are any DLLs required for SSL communication ? If required which ones?
> unless i'm mistaken, yes, you need ssl libraries available... which
ones depends
> on your OS which you don't mention...
> for example, i was working with https connections some time back on
my OS/2
> system and had to dig and play with
> crypto, cryptssl, open_ssl, ssl, and maybe some others... that was 4
years ago
> and i had so many different ones that i had to alter their names a
bit to keep
> the matched sets together...
*/--
Mit den besten Grüßen aus Dachau
Kostas Rizoudis
/mailto:kos...@rizoudis.de
/Rizoudis Individualsoftware
und Verfahrenstechnik GmbH
Karl-Benz Strasse 5b
85221 Dachau
Telefon: +49 8131 90747-0
Telefax: +49 8131 90747-20
Email: /p...@rizoudis.de <mailto:p...@rizoudis.de>
/Amtsgericht München: HRB 154237
Geschäftsführer: Konstantinos Rizoudis
Sitz: Dachau
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public
/
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public