Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » How to use TLS over SMTP
Re: How to use TLS over SMTP [message #48098 is a reply to message #48085] Tue, 16 May 2017 20:10 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1093
Registered: August 2007
Senior Contributor
Hello Tom,


I made some modifications on SMTP:

- STARTTLS is working fine.
- Now it can handle every valid multiline response automatically and properly.
- Now the EHLO is sent first and on failure it will fall back to HELO.
- put proper pieces into place (Made certain parts into methods.) Smile
- Added proper smtp service extension support.
- SMTP class is now internally very flexible. It is possible to add extensions easily when needed (e.g. in future, or on request.)
- Removed manual timeout check (CheckFail()) and went U++ way, using TcpSocket::GetLine(), and TcpSocket::PutAll().


Also I have the code tested on several different configurations . All seems good.
Yet any further testing, and bug reports are appreciated. Smile

Regards,

Oblivion.
  • Attachment: SMTP.zip
    (Size: 8.94KB, Downloaded 217 times)


[Updated on: Fri, 19 May 2017 07:28]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Send/receive files with SCP and launch commands with SSH
Next Topic: Code before Thread.Run() nor executed
Goto Forum:
  


Current Time: Wed May 08 17:08:16 CEST 2024

Total time taken to generate the page: 0.03903 seconds