You are Here:   FAQ->Scripting and Programming Languages->PHP->Article #3


What is PHP Mail?


For Linux packages only!Linux Packages Only!
      This includes:
arrow 1&1 Beginner (Linux) arrow 1&1 Dual Starter (Linux)
arrow 1&1 Home (Linux) arrow 1&1 Dual Unlimited (Linux)
arrow 1&1 Business (Linux) arrow 1&1 Dual Business (Linux)
arrow 1&1 Developer (Linux) arrow 1&1 Managed Servers





PHP mail is actually a function of the PHP language. Using the mail function, you can send an e-mail directly from a php script with ease. To send mail using the PHP mail function, you are only required to specify the recipient, subject and message. When sending a mailing it is suggested to also include the FROM header so that any replies to the e-mail are sent to the correct e-mail address.

The PHP mail function is used commonly with a contact form on a webpage for instance, so that a potential customer can contact a representative of the company via its web site for more info.

For more information about the PHP mail function, please reference PHP: mail - Manual

You can also reference the How do I sent an e-mail from a PHP script? for a general walkthrough on sending your first e-mail using PHP on a 1&1 package.


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5