http://www.perlmonks.org?node_id=765099


in reply to Sending a MIME::Entity email on OS X

http://search.cpan.org/src/DONEILL/MIME-tools-5.427/README-OR-DIE
Debugging All toolkit warnings may be turned off with config 'QUIET'. See MIME::ToolUtils for details.
MIME::Tools
MIME::Tools->debugging(1);

Replies are listed 'Best First'.
Re^2: Sending a MIME::Entity email on OS X
by mboudreau (Acolyte) on May 20, 2009 at 15:28 UTC

    Adding

    MIME::Tools->debugging(1); MIME::Tools->quiet(0);
    didn't have any effect: no error messages about the Mime tools.

    However, changing

    open(MAIL, "|/usr/bin/mail");
    to
    open(MAIL, "|/usr/sbin/sendmail -t")
    results in the message being sent.