No sendmail on Windows -- use Mail::Sender

Posted by troyt on 2006-06-27 11:04
OS: Windows | Product: ActivePerl | tags: sendmail

My perl program uses sendmail. How do I run it on a Windows system?


Sendmail is a mail transfer agent used on many UNIX systems. Perl programs (such as FormMail by Matthew Wright) often use it as a pipe for sending messages. Sendmail is not part of ActivePerl, and isn't typically installed on Windows.

The best approach to use when writing Perl scripts that need to send email and also need to work on both UNIX and Windows systems is to use the Mail::Sender modules instead as this is available on Windows and UNIX. You can install Mail::Sender by running:

  ppm install mail-sender a command prompt. Documentation for using Mail::Sender is available here: