Ok let s get down to the basics.
Ruby smtp ssl.
If both of user and secret are given smtp authentication will be attempted using the auth command.
Opens a tcp connection and starts the smtp session.
These solutions let you handle.
Compatible with both ruby s own logger and log4r loggers.
The echo command sends a null request to the server causing it to close the connection rather than wait for additional input.
See the discussion in the overview notes.
You can use the same command to test remote hosts for example a server hosting an external repository by replacing hostname port with the remote host s domain and port number.
It provides the functionality to send email via smtp.
Authtype specifies the type of authentication to attempt.
The drawback of this option is that net smtp lacks functions to compose emails.
This command s output shows you the certificate chain any public certificates the.
Allows detailed configuration for smtp delivery method address allows you to use a remote mail server.
Helo is the helo domain that you ll dispatch mails from.
For the smtp scheme it uses ruby libraries and makes direct smtp connections to the mail server.
As a library it is mainly designed to be integrated into your projects as serving a smtp server service.
You can always create them yourself but this takes time.
Concerning the ssl tls difference.
The second option is to use a dedicated ruby gem like mail pony or others.
Je ne suis pas très familier avec ssl as cordialement le protocole smtp donc tout cela est perdu sur moi.
Malheureusement la documentation net smtp ne couvre que les bases et ne fournit pas non plus une liste complète des différents contextes potentiels openssl ssl donc je ne peux pas en essayer différents.
It must be one of login plain and cram md5.
Just change it from its default localhost setting port on the off chance that your mail server doesn t run on port 25 you can change it.
Yes they are not the same but i d expect an up to date server supporting ssl to also support tls and consequently i even more expect clients supporting tls to also support ssl.