Is SMTPSocket.password secure


I’m a bit afraid to fill my account password in a SMTPSocket.password
Is it secure to use the SMTPSocket.password, or can someone intercept it during the sending of an email.

If you are not using a secure socket, all your SMTP-traffic is transmitted in plain text (passwords are base64 encoded). But this is the same with every mail client not issuing something like STARTTLS. As most mail providers support for SSL/TLS there is no reason not using encryption (ie. SMTPSecureSocket).

Thank you Natascha for these explanations. I will use SMTPSecureSocket.