comp.lang.ada
 help / color / mirror / Atom feed
From: "philip...@gmail.com" <philip.munts@gmail.com>
Subject: AWS.SMTP.Client secure mode
Date: Sat, 4 Sep 2021 20:20:39 -0700 (PDT)	[thread overview]
Message-ID: <30267029-4433-4f45-a409-debf68fb27ccn@googlegroups.com> (raw)

The recent thread about sending email with AWS.SMTP.Client reminded me I need to finish working on a package I wrote a while ago that uses AWS.SMTP.Client.  I have just been passing Server_Name => "localhost", Port => 25, and Secure => False to AWS.SMTP.Client.Initialize, to use a local mail relay, and that has worked fine.

I'm now trying to get secure communication to my email account mailserver working (SSL on port 465).  Something deep in the bowels of AWS wants cert.pem to exist in the directory I run my program from, but it doesn't seem to be the cert.pem I retrieved from the mail server with openssl.

My program dies with:

raised AWS.SMTP.SERVER_ERROR : raised AWS.NET.SOCKET_ERROR : The requested data were not available.

immediately after reading the cert.pem file I fetched with openssl.

Has anyone ever got secure  and authenticated AWS.SMTP.Client working?  And if so, how did you do it?

             reply	other threads:[~2021-09-05  3:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05  3:20 philip...@gmail.com [this message]
2021-09-06  9:26 ` AWS.SMTP.Client secure mode Björn Lundin
2021-09-07  2:20   ` philip...@gmail.com
2021-09-07  6:21     ` Björn Lundin
2021-09-07 20:40       ` philip...@gmail.com
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox