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


in reply to Re: Perl Email attchment using Sendmail with out nay perl Modules like (MIME::Lite .etc )
in thread Perl Email attchment using Sendmail with out nay perl Modules like (MIME::Lite .etc )

Getting below error when i try mail command

mail: invalid option -- a Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr .. +. [-- sendmail-options ...] mail [-iInNv] -f [name] mail [-iInNv] [-u user]

Replies are listed 'Best First'.
Re^3: Perl Email attchment using Sendmail with out nay perl Modules like (MIME::Lite .etc )
by McA (Priest) on Oct 16, 2012 at 12:22 UTC

    That's the reason I wrote: ... the newer versions ...

    So, in this special case you're out of luck. Is there a reason you can't install MIME::Lite as suggested by another monk here?

    Best regards
    McA