McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Browse Categories
 Affiliates
 Backup & Restore
 Billing & MyAccount FAQs
 Control Panels
 Customer Tools
 Databases
 Dedicated Servers
 DNS and Domain Registration
 Email
 General Information
 Glossary
 Network
 News
 PCI Compliance
 Pre-sales FAQ
 Publishing Your Site
 Reseller Tips
 Search Engine Optimization
 Security Topics
 SSL and HTTPS
 Virtual Desktops
 Virtual Servers
 Website Design & Development
 Website Errors

Quick Links
Submit Technical Support Ticket
Submit Sales & Billing Ticket
Manage My Hosting Account
Pay My Hosting Bill
Manage Domain Registration

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.

© 2001 - 2010 3Essentials Inc.
Terms Of Service | Privacy Policy | Copyright Policy | Affiliates