O'Reilly logo

PHP and MySQL by Example by Marko Gargenta, Ellie Quigley

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

Appendix BPHP and E-Mail

B.1 The Mail Server

For a PHP script to be able to send e-mail, it must be able to talk to a mail server that is willing to accept its request and deliver the e-mail to the Internet.

A mail server, sometimes referred to as the Simple Mail Transfer Protocol (SMTP) server, is a software process that takes an e-mail message for delivery and forwards it to other mail servers on the Internet until the message reaches its final destination.

To set up PHP to talk to your mail server, first you must know the IP or the Internet address of your mail server. Typically, your local Internet Service Provider (ISP) will provide this information to you. The mail server for SBC DSL, for example, is mail.sbcglobal.net. Next, ...

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