[Lazarus] Sending secure smtp email via Synapse
lazarus at kluug.net
Wed Sep 23 12:07:40 CEST 2015
On 23.09.2015 11:29, Richard Mace wrote:
> Hi All,
> I am trying to send secure SMTP email by using Synapse and Lazarus
> 1.4.2 under Windows 7 and am not getting very far.
> I have followed the example on this page:
> and am wondering whether I am missing some DLL's or something, as I
> can't get it to work.
> When debugging through the code, the following code is not run as
> SMTP.login returns false:
> if SMTP.Login then
> result := SMTP.MailFrom(MailFrom, Length(MailData)) and
> SMTP.MailTo(MailTo) and
> I am currently trying to send via smtp.gmail.com
> <http://smtp.gmail.com> on port 465, but I'll need to allow the option
> in my application for any SMTP server to be used.
> I have "ssl_openssl" in my uses, but I haven't downloaded any DLL(s)?
> Could anybody point me in the right direction please?
> Many thanks
Yes, you need ssleay32.dll and libeay32.dll
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus