|more useful options|
Sending a MIME::Entity email on OS Xby mboudreau (Novice)
|on May 19, 2009 at 20:42 UTC||Need Help??|
mboudreau has asked for the
wisdom of the Perl Monks concerning the following question:
I'm developing an application on OS X (10.5.7) using Apache (2.2.11), mod_perl (2.0.2) and Mason. I'm using MIME::Entity to create an email, like this (error checking omitted for clarity):
The problem is that nothing seems to happen. I've used similar code on a Solaris system, where I invoked mail with the "-t" option. On OS X the "-t" option gives me a "broken pipe" error message on the close command. Without that option, no error messages appear, but no mail appears to be sent.
I have looked at the manpage for the OS X mail command and didn't find any help, but it's possible I missed something.
Has anyone been down this road before? Can you point me in the right direction?