- Web Templates
- E-commerce Templates
- CMS und Blog Templates
- Facebook Templates
- Website-Builder
mail function
April 1, 2016
The mail() function allows you to send emails directly from a script.
The function syntax is the following:
mail(to,subject,message,headers,parameters);
where to is a required parameter, it specifies the receiver / receivers of the email;
Subject – specifies the subject of the email, it is also required;
Message is the last required parameter and it defines the message to be sent;
Headers and additional parameters are optional;
Example code for the mail function would look like the following:
