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 #48084 is a reply to message #48083] Mon, 15 May 2017 10:34 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1091
Registered: August 2007
Senior Contributor
Hello Tom,

Quote:

That is, adding the do-while loop and checking the answer for the dash. My ISP (or rather their Postfix server) occasionally sends the greeting with a dash (220-...) indicating a multi-line response. and then on the next line will follow the final greeting. If that is not picked out from the queue, the EHLO will fail. After fixing the code as above, the trace from Smtp:: will show desired behavior with Postfix server:


So, If I understand it correctly, there's a problem with the original SendRecv() code. It doesn't handle multiline replies?
That's easy to pach.
Here's what I'll do: Instead of workarounds I'll rewrite the SendRecv() so that it can support multiline message, and reply codes automatically.
Then I'll refactor the whole login process. Smile

I'll publish a new patch within a couple of days.

Thanks for testing.

Regards,

Oblivion.




[Updated on: Mon, 15 May 2017 10:39]

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: Fri Mar 29 07:29:17 CET 2024

Total time taken to generate the page: 0.01338 seconds