method

esmtp=

v1_8_6_287 - Show latest stable - Class: Net::SMTP
esmtp=( bool )
public

Set whether to use ESMTP or not. This should be done before calling #start. Note that if #start is called in ESMTP mode, and the connection fails due to a ProtocolError, the SMTP object will automatically switch to plain SMTP mode and retry (but not vice versa).