Mail::Sender for windows

Posted on 2005-05-17
Last Modified: 2012-08-14
I am trying to get this but ave not been able to find a good copy on windows xp

please advice on where i can pick up a good copy from?

My goal is to send mails with attachments in perl on wndows xp

Question by:khyberman

    Author Comment

    please note that i tried to download:

    and this seems to be currupt. when i try to untar / ungz usin power archiver.
    LVL 6

    Expert Comment

    All you need to do is:

    go to your command prompt

    execute command:
    echo %PATH%

    Note one of the Perl's paths in the list:
    e.g. C:\Perl\bin\

    Create a Folder called "Mail" under that path:

    Use the source of the module and save it as a text file with the name:

    From this location, just save it as a text file with as a name

    Run your script...

    LVL 28

    Expert Comment

    The easiest and probably the best method to install the module is to use ppm (Perl package manager).

    ppm install Mail-Sender

    This will download and install the module into its default/proper location (c:\perl\site\lib\Mail).  If you use sstouk's method, you'll probably also need to add a use lib statement to your script so that the module will be found.

    use lib 'C:/perl/bin';
    use Mail::Sender;

    If you have problems with Mail::Sender, you can use Mime::Lite instead.
    LVL 28

    Accepted Solution

    For example, I just installed it on my XP machine like this:

    C:\>ppm install Mail-Sender
    Install 'Mail-Sender' version 0.8.10 in ActivePerl
    Downloaded 45231 bytes.
    Extracting 7/7: blib/arch/auto/Mail/Sender/.exists
    Installing C:\Perl\html\site\lib\Mail\Sender.html
    Installing C:\Perl\site\lib\Mail\
    Installing C:\Perl\site\lib\Mail\Sender\CType\
    Installing C:\Perl\site\lib\Mail\Sender\CType\
    Successfully installed Mail-Sender version 0.8.10 in ActivePerl

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
    I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now