On Fri, 2004-11-19 at 21:13, Bob Showalter wrote: > Ramprasad A Padmanabhan wrote: > > I am using Net::SMTP to send mails to an SMTP server. > > If the server is running on a non std port how do I send mails to this > > port > > Not documented, but inspection of the Net::SMTP code shows that: > > $smtp = Net::SMTP->new($host, Port => 1234); > > should do the trick (replace 1234 with the actual port) > > HTH
Thanks a lot. I too gave it a shot just after posting. It worked. Ram -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
