in reply to Re^2: Net::SMTP - Connection to local MTA refused
in thread Net::SMTP - Connection to local MTA refused

ok, i may be missing something here, but dont modern mail senders require you to authenticate first? ie:

$l_mailer->auth($smtpuser, $smtppassword);
before
$l_mailer->mail($p_sender);

Replies are listed 'Best First'.
Re^4: Net::SMTP - Connection to local MTA refused
by Robidu (Acolyte) on Mar 16, 2017 at 08:54 UTC

    That would be necessary if the form mailer sent its data through the submission port (587/tcp). However, I'm sending this through port 25 which doesn't require authentication (it's normally used so that other MTAs can connect, but localhost is allowed to send there, too).