Home » U++ Library support » U++ MT-multithreading and servers » How to use TLS over SMTP
Re: How to use TLS over SMTP [message #48049 is a reply to message #48045] |
Sat, 13 May 2017 10:13 |
Tom1
Messages: 1242 Registered: March 2007
|
Senior Contributor |
|
|
Hi,
Wow, that was fast Oblivion! Thanks!!
However, sending with STARTTLS failed with an error:
503 5.5.1 Error: send HELO/EHLO first
when processing:
String ans = SendRecv("AUTH LOGIN\r\n");
I fixed it by removing the 'else' after initializing STARTTLS and allowing new HELO inside STARTTLS mode. I think I read somewhere that after going into STARTTLS makes server drop all prior information and therefore requires starting over with new HELO:
throw Exc("Server does not provide SMTP service information.");
}
//else
SendRecvOK("HELO " + org + "\r\n");
if(!IsNull(auth_user)) {
String ans = SendRecv("AUTH LOGIN\r\n");
...
Can you confirm if this is correct? It seems to work fine on my ISP's SMTP server.
Thanks and best regards,
Tom
|
|
|
|
|
How to use TLS over SMTP
By: Shwetha on Sat, 06 February 2016 12:55
|
|
|
Re: How to use TLS over SMTP
By: mirek on Sun, 07 February 2016 07:08
|
|
|
Re: How to use TLS over SMTP
By: Tom1 on Fri, 12 May 2017 17:37
|
|
|
Re: How to use TLS over SMTP
|
|
|
Re: How to use TLS over SMTP
|
|
|
Re: How to use TLS over SMTP
By: Klugier on Fri, 12 May 2017 22:42
|
|
|
Re: How to use TLS over SMTP
By: Tom1 on Sat, 13 May 2017 10:13
|
|
|
Re: How to use TLS over SMTP
|
|
|
Re: How to use TLS over SMTP
By: Tom1 on Sat, 13 May 2017 20:55
|
|
|
Re: How to use TLS over SMTP
By: Tom1 on Mon, 15 May 2017 09:22
|
|
|
Re: How to use TLS over SMTP
|
|
|
Re: How to use TLS over SMTP
By: Tom1 on Mon, 15 May 2017 11:06
|
|
|
Re: How to use TLS over SMTP
|
|
|
Re: How to use TLS over SMTP
By: Tom1 on Wed, 17 May 2017 10:05
|
|
|
Re: How to use TLS over SMTP
|
|
|
Re: How to use TLS over SMTP
By: mirek on Wed, 05 July 2017 12:15
|
Goto Forum:
Current Time: Sat Sep 21 03:08:14 CEST 2024
Total time taken to generate the page: 0.03589 seconds
|