Sendmail on Windows |
Article ID: 882 |
Back to Search
|
Question:
My perl program uses "sendmail" (i.e., something like /usr/lib/sendmail). How do I run it on a Windows system?
Answer:
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. If you are unsure if the Perl Mail::Sender module is installed on your 3Essentials server, please submit a support ticket asking this. If it is not, the support team will install it.
Documentation for using Mail::Sender is available here:
http://search.cpan.org/~jenda/Mail-Sender-0.8.16/Sender.pm
References:
- http://community.activestate.com/faq/no-sendmail-on-windows-us
|
|
Downloads Associated With This Article |
No downloads are currently associated with this article. |