comp.lang.ada
 help / color / mirror / Atom feed
* 530 5.7.0 Must issue a STARTTLS command first.
@ 2019-01-06  4:54 Andrew Shvets
  2019-01-06  9:19 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Shvets @ 2019-01-06  4:54 UTC (permalink / raw)


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?  And how can I send a STARTTLS command first?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 530 5.7.0 Must issue a STARTTLS command first.
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry A. Kazakov @ 2019-01-06  9:19 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-06  9:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox