After probing around in the code I found the solution was extremely simple and may save someone else some grief.
The list of options which will be passed is found in this array at line 2813. Port is not in it, so add it as I have done here and then it does just what it needs to.
jdtorontomy @_net_smtp_opts = qw( Hello LocalAddr LocalPort Port Timeout ExactA +ddresses Debug );
Updated I noted this information here at the same time as posting to rt.cpan.org
Updated As suggested, has been marked up in AnnoCPAN, thanks diotalevi.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MIME::Lite does not pass PORT to Net::SMTP
by diotalevi (Canon) on Aug 24, 2006 at 01:36 UTC | |
by jdtoronto (Prior) on Aug 24, 2006 at 11:13 UTC | |
by imp (Priest) on Aug 24, 2006 at 11:53 UTC | |
by jdtoronto (Prior) on Aug 24, 2006 at 13:23 UTC | |
|
Re: MIME::Lite does not pass PORT to Net::SMTP
by demerphq (Chancellor) on Aug 25, 2006 at 12:42 UTC | |
|
Re: MIME::Lite does not pass PORT to Net::SMTP
by zentara (Cardinal) on Aug 24, 2006 at 15:40 UTC | |
by demerphq (Chancellor) on Aug 25, 2006 at 12:19 UTC |