comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: 530 5.7.0 Must issue a STARTTLS command first.
Date: Sun, 6 Jan 2019 10:19:53 +0100
Date: 2019-01-06T10:19:53+01:00	[thread overview]
Message-ID: <q0sh7q$12hg$1@gioia.aioe.org> (raw)
In-Reply-To: 0731bbaa-a139-4364-9354-06f531ed8b64@googlegroups.com

On 2019-01-06 05:54, Andrew Shvets wrote:
> I've looked through this group and taken the advice that was recommended in regards to sending e-mails using Ada and decided to try something very simple.  On RosettaCode, there is the following example:
> http://rosettacode.org/wiki/Send_email#Ada
> 
> When I run the code configured for my Gmail account (smtp.gmail.com and port being 587), I get the below error:
> 530 5.7.0 Must issue a STARTTLS command first. 126sm25673591qkj.70 - gsmtp
> 
> Why is that?

The mail server offered an encrypted session, the client confirms that 
with STARTTLS and then both continue on TLS. The client may also reject 
the offer, but it seems that the server's security level set to enforce TLS.

> And how can I send a STARTTLS command first?

Sorry, I don't use AWS.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


      reply	other threads:[~2019-01-06  9:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-06  4:54 530 5.7.0 Must issue a STARTTLS command first Andrew Shvets
2019-01-06  9:19 ` Dmitry A. Kazakov [this message]
replies disabled

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