Opened this issue 5 years ago · 1 comments
The examples just use send, whereas at least for STARTTLS with authentification, a prior call to connect is required.
send
connect
I agree that this should be changed in the example. I used:
// Send the email let result = mailer.connect_and_send(email).await;