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


In reply to Re: Re: New Mail::Sender not working? by neilwatson
in thread New Mail::Sender not working? by neilwatson

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.