|Subject:||Net::SMTP::TLS debugging patch|
|Date:||Fri, 7 Aug 2009 20:53:03 +0200 (CEST)|
|To:||firstname.lastname@example.org, email@example.com, bug-Net-SMTP-TLS@rt.cpan.org|
|From:||Volker Schatz <firstname.lastname@example.org>|
Hello Alexander, I had a bit of trouble with your Net::SMTP::TLS module. To solve it, I added a debugging option to the module. It is activated by passing Debug => 1 to the constructor and prints an SMTP log in a manner similar to smtp-client.pl. In addition I have added a "return 1;" to all functions to be called by the user (mail, to, data...). This makes it possible to substitute Net::SMTP::TLS for Net::SMTP without breaking constructs like "$m->mail(...) or die ...". Attached I send you the diffs of these changes in case you want to add them to the main version. In particular I think the debug output can be very helpful when one has limited knowledge of the server, as is often the case when dealing with ISPs. Best regards, Volker
Message body not shown because it is not plain text.