From 21148d928e1ba276fb666a1b3d53003ae99bc81a Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Mon, 26 Jan 2015 13:42:23 +0000 Subject: Document the new SendHello argument to Net::SMTP->new() --- Changes | 4 +++- lib/Net/SMTP.pm | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 0139870..1bf112f 100644 --- a/Changes +++ b/Changes @@ -2,7 +2,9 @@ Revision history for Perl distribution libnet 3.06 Development - - TODO + - Added optional SendHello argument to Net::SMTP->new() to allow preventing + the EHLO/HELO command from being automatically sent by the constructor. + [PR#13, Danil Onishchenko] 3.05 2015-01-12 diff --git a/lib/Net/SMTP.pm b/lib/Net/SMTP.pm index 024d75b..561281f 100644 --- a/lib/Net/SMTP.pm +++ b/lib/Net/SMTP.pm @@ -714,6 +714,10 @@ B - SMTP requires that you identify yourself. This option specifies a string to pass as your mail domain. If not given localhost.localdomain will be used. +B - If false then the EHLO (or HELO) command that is normally sent +when constructing the object will not be sent. In that case the command will +have to be sent manually by calling C instead. + B - SMTP host to connect to. It may be a single scalar (hostname[:port]), as defined for the C option in L, or a reference to an array with hosts to try in turn. The L method will return the value -- cgit v1.2.3-24-ge0c7