dub4u has asked for the wisdom of the Perl Monks concerning the following question:
The warning is always printed, even if the SMTP server I'm talking to supports the DSN extension. (I've tried this with other SMTP extensions too and the results are the same)use strict; use Net::SMTP; my $smtpd = shift @ARGV || 'localhost'; my $smtpc = Net::SMTP->new($smtpd, Debug => 1, ); warn "DSN not supported!" unless $smtpc->supports('DSN');
I know I'm doing something wrong here when I call the (undocumented) supports() method in Net::SMTP but I don't know what I'm doing wrong there or what else I could do to achieve what I want.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Finding supported ESMTP Extensions with Net::SMTP
by Mr. Muskrat (Canon) on Jan 14, 2003 at 17:56 UTC | |
by dub4u (Sexton) on Jan 14, 2003 at 21:24 UTC | |
by Mr. Muskrat (Canon) on Jan 14, 2003 at 21:30 UTC | |
by dub4u (Sexton) on Jan 15, 2003 at 17:56 UTC | |
by Mr. Muskrat (Canon) on Jan 15, 2003 at 18:05 UTC |