Exercises, examples and other material relating to training module P410. This topic is presented on public course Using Perl on the Web
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!
|Articles and tips on this subject||updated|
|2235||Sending awkward characters by email in Perl|
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 to it in a system call via an echo.
For a one-liner, without special characters in the text, this is easy ... but to get echo to pass through all ...
|2232||Why sendmail one way, and pop3 the other?|
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. Why not use just one protocol for all the stages of email transmission?
Well in sendmail protocol, the client program pushes the email to a ...
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 reject? A long time ago, I wrote a PHP script that gives me a quick traffic graph looking back a number of weeks so that I can spot a changing pattern ...
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|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
Automatically sending emails.
Unix and Linux: cron, at and batch.
The user name.
Using port 25.
Reading email via POP3 or other protocols.
Automatically processing received emails.
An email responder.
Automatic at both ends!.
Processing an email file.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
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.