O'Reilly logo

Sams Teach Yourself CGI in 24 Hours, Second Edition by Rafe Colburn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How Email Works

Before I explain how to send email from within a CGI script, let me first explain how Internet email works at a very high level. First, email messages are usually generated using a mail client. Popular mail clients include Outlook Express, Eudora, and Mutt. However, a mail client is really any program from which an email message originates. In this hour, the email client is the CGI program that sends the email message.

Internet email delivery is facilitated by software called a mail transfer agent. A mail transfer agent, or MTA, is different than mail clients, like Eudora or Microsoft Outlook. A mail transfer agent’s job is to examine email messages, determine what the next step toward delivering them is, and then performing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required