I've written a program which runs on an i.MX6 ARM system.
The system is built using Yocto system.
If I try to send an email, I'm getting the following output:
c: Trying to connect to smtp.office365.com on port 587
s: 220 VI1PR04CA0137.outlook.office365.com Microsoft ESMTP MAIL Service ready at Tue, 26 Apr 2022 22:14:55 +0000
c: Connected!
c: ehlo localhost\r\n
s: 250-VI1PR04CA0137.outlook.office365.com Hello [83.215.196.27]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8
c: Info: STARTTLS is available by the server, the communication will be encrypted.
c: STARTTLS\r\n
s: 220 2.0.0 SMTP server ready
c: <Start TLS negotiation>
c & s: <Negotiate a TLS session>
c & s: <Check result of negotiation>
s: unable to get local issuer certificate
Unable to verify the result of chain verification|-58
I'm using the OpportunisticSecureSMTPClient client.
Any help is appreciated.