in reply to Re: MIME::Lite $message construction with variables
in thread MIME::Lite $message construction with variables
BTW, the "Type" param is not needed in the call to new(). When calling $msg->attach later, the object will automatically set the Type as needed. See the docs for more details.$msg = MIME::Lite->new( From => 'net-admin@someplace.org', To => 'decoraw@someplace.org', Subject => 'Trying to send attachment', Type => 'multipart/mixed');
And I agree that MIME::Lite is definitely one of the coolest things since sliced bread. Major kudos to the author. I'm using it at work to mail out dynamically generated PDF's, and I think it took me all of 5 minutes after reading the docs to have working code. That's a well designed module. :-)
|
|---|