What Kinds of Applications Involve Sending Email?

Several types of applications benefit from sending email programmatically. Consider a feedback form on a Web site that is used to solicit comments from users. The easiest way to pass the feedback to the designers is to send it to them via email each time the form is submitted. Email sent to users is often utilized by online stores. When a user places an order, usually a receipt is sent to her via email so that she can keep it for her records.

Another real-world example involves a small store that allows customers to purchase various products online. The application process is handled through HTML forms, but ultimately the orders must be fulfilled by a human being. The CGI script that processes ...

Get Sams Teach Yourself CGI in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.