Open mneumann opened 4 years ago
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;
The examples just use
send
, whereas at least for STARTTLS with authentification, a prior call toconnect
is required.