| |||||||||||
| |||||||||||
Emailing from Perl on Windows platforms Posted by admin (Graham Ellis), 11 February 2006 Perl doesn't include built-in emailing functions. On Unix or Linux boxes, I've always put in calls to the local sendmail program and that works just fine, but there's no sendmail on Microsoft boxes ...Alternative - use a CPAN module (or rather a module that you can download with ppm); here's the "engine" of a program that I wrote a s demo in the last couple of days: Code:
See Complete example and further documentation Posted by aparks (aparks), 25 May 2006 You might also use MIME::Lite (also up on CPAN) if you need to attach files to your email. We use this for firing off server logs to a central email account (which we then ignore like all good sysadmins ![]() Code:
Wow - finally I've contributed something back to OpenTalk (well hopefully anyway). I've been feeling guilty about all the unrequited help I've had from here over the years... This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |