in reply to New Mail::Sender not working?

Mail::Sender has a debug parameter where all conversations with the server are logged to a file.

You might try adding

 debug=>"debug.txt"
to your open call to see if anything is being captured.

Admitedly, I have never used Mail::Sender before, but have used Mime::Lite with smashing success. You might try that as an alternative if things get really frustrating.

Replies are listed 'Best First'.
Re: Re: New Mail::Sender not working?
by neilwatson (Priest) on Mar 29, 2003 at 00:53 UTC
    Tried the debug option:

    >> 220 mydomain.com ESMTP Sendmail 8.11.6+Sun/8.9.3; Fri, 28 Mar 2003 +19:47:14 -0500 (EST) << ehlo localhost.localdomain >> 250-mydomain.com Hello endor.mydomain.com [205.150.90.55], pleased +to meet you >> 250-ENHANCEDSTATUSCODES >> 250-EXPN >> 250-VERB >> 250-8BITMIME >> 250-SIZE 10000000 >> 250-ONEX >> 250-ETRN >> 250-XUSR >> 250 HELP << mail from: <fakefrom@mydomain.com> >> 250 2.1.0 <fakefrom@mydomain.com>... Sender ok << rcpt to: <nwatson@mydomain.com> >> 250 2.1.5 <nwatson@mydomain.com>... Recipient ok << data >> 354 Enter mail, end with "." on a line by itself << To: nwatson@mydomain.com << From: fakefrom@mydomain.com << Subject: Reply from mydomain for TEST << Date: Fri, 28 Mar 2003 19:19:19 -0500 << X-Mailer: Perl script "test.pl" << using Mail::Sender 0.8.06 by Jenda Krynicky, Czechlands << running on localhost.localdomain (127.0.0.1) << under account "nwatson" << Message-ID: <20030329_001919_090188.fakefrom@mydomain.com> << Errors-To: postmaster@mydomain.com

    So I would guess that the Body, SendLineEnc, or Close is causing the problem? Could this be bug or, was I just lucky before?

    Neil Watson
    watson-wilson.ca