Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

New telephone system - working a day early.
01225 708225 (phone) and 01225 899360 (fax) again ;-)
Upcoming U.K. Perl courses ...
Perl Programming
Perl for larger projects
using Perl on the Web

Tips and short articles on this subject
Sending awkward characters by email in Perl
Why sendmail one way, and pop3 the other?
Email metrics
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Perl module P410
Automated Email Answering
Exercises, examples and other material relating to training module P410. This topic is presented on public course Using Perl on the Web

Using Perl on the Web - CGI, mod-Perl, and other standards. Sessions, cookies, content management, etc. This advanced course takes the Perl programmer ...
http://www.wellho.net/course/pwfull.html  [course]
When you send emails, you'll use a "sendmail" protocol / service, whereas when you receive them, you'll typically use a "pop3" or similar protocol / service. ...
http://www.wellho.net/mouth/2232_Why ... ther-.html  [short article]
Carrying on from the email work I described in a recent article, I wrote an example today in Perl where I used the mailx program to send an email, piping ...
http://www.wellho.net/mouth/2235_Sen ... -Perl.html  [short article]
How many emails do YOU get each day? How many of them are unsolicited bulk emails that you throw away without evening opening them, or have your server ...
http://www.wellho.net/mouth/872_Email-metrics.html  [short article]
#!/usr/bin/perl use Socket; use FileHandle; # pop3_read - pull in our email! ($#ARGV > 1) || die "Usage: $0 [CLEAR]\n"; $host = $ARGV[0]; $user = $ARGV[1]; ...
http://www.wellho.net/resources/ex.php4?item=p410/pop3.pl  [code sample]
#!/usr/bin/perl # Program to handle mail requests .... while (1) { $line = ; last if ($line =~ /^\s*$/); chop $line; ...
http://www.wellho.net/resources/ex.php4?item=p410/mailsender.pl  [code sample]
$seatown = "Swanage"; $bottle =
http://www.wellho.net/resources/ex.php4?item=p410/automail  [code sample]

Using Perl to answer emails Ð from tasks as simple as sending an automated acknowledgement through to providing fully fledged systems based on email and their content. List servers such as majordomo are written in Perl after all!

This topic is presented on public course Using Perl on the Web

Examples from our training material
am2   Emailing from a Perl script to a variety or recipients
automail   Emailing from a Perl Script
mailsender.pl   Mail form - sending email from Perl
pop3.pl   Using POP3 protocol to read emails into a Perl program
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
Cron, at and batch.
Can I find the user's name?
Mailing modules from the CPAN.
Using SMTP directly - RFC 821 and 822.
Reading email via POP3.
Automatic processing of emails.
An email responder.
Using autosend / autoreceive to pass firewalls.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 0800 043 8225 or 01225 708225 • FAX: 01225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho