I want to encrypt the smtp access to a smtp server using STARTTLS.
After HELO I send STARTTLS to the server, but after receiving OK I don’t know how to continue the smtp communication.
Normally, without using STARTTLS (no encrypted transmission), I continue by sending the authentication. That works fine, but now I also want to use encrypted transmission.
Can you help me?
Please see the recorded responses from the GC864QUADV2:
CONNECT220 web.de (mrweb003) Nemesis ESMTP Service ready250-web.de Hello datalink [18.104.22.168]250-SIZE 69920427250-AUTH LOGIN PLAIN250 STARTTLS220 OK0x15 0x03 0x03 0x00 0x02 0x02 0x0A <– received ascii data changed to hex data (encrypted data?)
Is anything wrong with the dedicated SMTP AT commands you won’t use them?
I have a older version of the AT Command Reference Guide. The AT SMTP stack was developed
in the last time and has currently more usefull functions (integrated
SLL, Content-Transfer-Encoding…). I could use the integrated and
powerfull AT SMTP Stack.
updates, I made my own SMTP Stack with MIME Protocoll because to send
more recipients, blindcopy recipients, textbody in HTML format and more
than one file…
Is it possible to transfer more than one recipient with the AT commands?
It is possible to send more then one file with different encoding type?
no, which name has your MIME boundary? If I know that i could
implemended more files in the serial datastream of AT#SMTPCL after send
the textbody. Because of the MINE protocol, with sending "+++" the
boundary must be closed and the SMTP command DATA must end like
CRLF.CRLF. It should be possible to made it with understanding SMTP and
I think I must update the GC864 QUAD V2
(AT+CGMR=10.00.057). Which firmware version is needed and where can I
find them.I have a EVK2, because I can do that by myself.
Thank you for your answer.
Thank you for your quit answer. I have upgrade the module with the latest version and tested the new Email functions. It works great.
The SMTP server (like all new SMTPs) requires a non-encrypted request (EHLO). Thereafter, the encryption is started with the STARTTLS command. The server encrypted the data at this time but i cant decrypt the data.
So the SMTP socket connection starts not encrypted and begins encryption after STARTTSL command; the Telit SSL socket implementation doesn’t allow this, only with SSL encryption from the very beginning – so I would say is not currently doable.
This possibility of switching on encryption during an existing socket should be implemented. Ok, this is a not so good answer, because of my problem. Thank you for your help
Hit enter to search or ESC to close
Knowledge Base & Download Zone