method

esmtp=

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Net::SMTP

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.

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).

Show source
Register or log in to add new notes.