Subject: | Host setting ignored in send_by_smtp |
Date: | Mon, 17 Aug 2009 15:30:41 -0500 |
To: | bug-MIME-Lite [...] rt.cpan.org |
From: | John Bokma <contact [...] johnbokma.com> |
Since Host is not in @_net_smtp_opts it's not copied to the constructor
of Net::SMTP resulting in that only the default smtp port can be used.
Fix: add Host to the list (line 2829/2830 of Lite.pm 3.024):
my @_net_smtp_opts = qw( Hello LocalAddr LocalPort Timeout
ExactAddresses Debug Port );
See also:
http://johnbokma.com/mexit/2009/08/17/mime-lite-smtp-port-bug-fix.html