<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 23.09.2015 11:29, Richard Mace
wrote:<br>
</div>
<blockquote
cite="mid:CAK+KT38Xxb-y_hrJ7rRj6kdOmPO+1ZoBMOE2-a8zWeEfRBqouA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Hi All,</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">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.</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">I have followed
the example on this page:</div>
<div class="gmail_default" style=""><font face="arial,
helvetica, sans-serif"><a moz-do-not-send="true"
href="http://wiki.freepascal.org/Synapse">http://wiki.freepascal.org/Synapse</a></font><br>
</div>
<div class="gmail_default" style=""><br>
</div>
<div class="gmail_default" style="">and am wondering whether I
am missing some DLL's or something, as I can't get it to work.</div>
<div class="gmail_default" style=""><br>
</div>
<div class="gmail_default" style="">When debugging through the
code, the following code is not run as SMTP.login returns
false:</div>
<div class="gmail_default" style=""><br>
</div>
<div class="gmail_default" style="">
<div class="gmail_default"> if SMTP.Login then</div>
<div class="gmail_default"> begin</div>
<div class="gmail_default"> result :=
SMTP.MailFrom(MailFrom, Length(MailData)) and</div>
<div class="gmail_default"> SMTP.MailTo(MailTo) and</div>
<div class="gmail_default"> SMTP.MailData(sl);</div>
<div class="gmail_default"> SMTP.Logout;</div>
<div class="gmail_default"> end;</div>
<div><br>
</div>
<div>I am currently trying to send via <a
moz-do-not-send="true" href="http://smtp.gmail.com">smtp.gmail.com</a>
on port 465, but I'll need to allow the option in my
application for any SMTP server to be used.</div>
<div><br>
</div>
<div>I have "ssl_openssl" in my uses, but I haven't downloaded
any DLL(s)?</div>
<div><br>
</div>
<div>Could anybody point me in the right direction please?</div>
<div><br>
</div>
<div>Many thanks</div>
<div><br>
</div>
<div>Richard<br>
</div>
</div>
</div>
</blockquote>
<br>
Yes, you need ssleay32.dll and libeay32.dll<br>
<br>
Ondrej<br>
</body>
</html>