You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionsleep(to: number){returnnewPromise((res)=>setTimeout(res,to))}constconn1=awaitDeno.connect({hostname: "sandbox.smtp.mailtrap.io",port: 25})constenc=newTextEncoder()awaitconn1.write(enc.encode("EHLO sandbox.smtp.mailtrap.io"))// Wait until connection is ready for starttlsawaitsleep(2000)awaitconn1.write(enc.encode("STARTTLS"))constreader=conn1.readable.getReader()// const reader = {read(){}}// ??? What to put hereawaitDeno.startTls(conn1,{hostname: "sandbox.smtp.mailtrap.io"})// Make sure no GC is happening!awaitreader.read()
The code needed at ??? is needed in client/base/connection.ts in line 40
Describe the bug
STARTTLS is not working
To Reproduce / minimal example
The code needed at ??? is needed in client/base/connection.ts in line 40
Additional context
Reopens #65 and #59
The text was updated successfully, but these errors were encountered: