Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,
I am using 3rd party server and using RedHat Linux as OS and Perl 5.6+ +. I would like to send a mail with an attachment, So without installing +any other modules, can I use the modules which provide from the perl +kit? Could you please help me, which module is useful to send attachment? Mail::Sender, MIME::Lite etc is included in the 5.6 package? Otherwise how can I do that? Thanks

2007-10-05 Retitled by GrandFather, as per Monastery guidelines

Replies are listed 'Best First'.
Re: Send mail with core perl5.6
by jettero (Monsignor) on Oct 05, 2007 at 10:57 UTC

    Yes. The mime lite docs even show you how to do it in the synopsis. It's probably one of the most recommended modules (for email) on the site. Cheers.

    -Paul

Re: Send mail with core perl5.6
by svenXY (Deacon) on Oct 05, 2007 at 11:03 UTC
    Hi,
    I see that you used code tags - fine! But they are meant to be used for perl-code, not for the text of your question.
    Since you posted this anonymously, you have no chance to fix this, but just in case you post again, please use code tags to enclose code (or output generated by code) and use common html tags for the rest of your message (Perl Monks Approved HTML tags).
    Regards,
    svenXY