Tcl Library Source Code

View Ticket
Login
Ticket UUID: e599462c22d442d050558063fd21917dfe8177b4
Title: Update smtp client library
Type: Bug Version: 1.5
Submitter: anonymous Created on: 2019-10-05 08:07:33
Subsystem: mime Assigned To: aku
Priority: 6 Severity: Important
Status: Pending Last Modified: 2019-11-19 20:45:40
Resolution: None Closed By: nobody
    Closed on:
Description:
Current version does not good working with smtp encryption.
this patch fix it.

SMTP TLS (25 port TCP)
smtp::hear ignoring first line from smtp server answer and some times missing STARTTLS functionality.

SMTP SSL (465 port TCP)
smtp::talk does not start tls::handshake when needed

TEST
I am adding simple test with google mail server. Test can not send email because google ACL but confirms that encription working.
With my private server i can send mail both methods.
User Comments: aku added on 2019-11-19 20:45:40:

Hello.

I have questions.

Which version of the TLS package was used ?

Which version of Tcl ?

- I used Tcl 8.6.7, and TLS 1.7.13.

Asking because my TLS did not recognize option `-tls`. I used option `-tls1.2` instead, and hoped for the best.

Next, please provide log files from running `test.tcl`. Not just after applying your patch, but before as well.

When I tried that I got substantially identical log files. And both ended in a Tcl error trace.

Recorded all the files (proposed patch, test script, my logs) into the repository, see commit [a6f697a7e8], for easy access.


Attachments: