--- Ovid <[EMAIL PROTECTED]> wrote:
> And what's actually throwing the error (comments are the values):
>
> my $smtp = Net::SMTP->new(
> $self->{_smtp_server}, # localhost
> Port => $self->{_smtp_port}, # 2525
> Timeout => 60,
> Hello => $self->qp->config("me"), # Curtis-Poes-Computer.local
> ) || die $!;
>
> From what I can tell from the Net::SMTP docs, "Port" is not a valid
> parameter. "LocalPort" is a valid parameter, but that fails with
> "Address already in use" (since postfix is using it).
Further research reveals that Port *is* allowed, but only because it's
rewritten as PeerPort in the code and passed to the
IO::Socket::INET::new constructor. This isn't documented, but it's
legal :(
So I'll keep digging to find out what the problem is.
Cheers,
Ovid
--
If this message is a response to a question on a mailing list, please send
follow up questions to the list.
Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/