- Plantillas Web
- Plantillas E-commerce
- Plantillas de CMS y Blog
- Plantillas Facebook
- Constructor Web
mail function
abril 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:
