PHP Classes

Mail

Recommend this page to a friend!

      PHP Mail Sending  >  All threads  >  Mail  >  (Un) Subscribe thread alerts  
Subject:Mail
Summary:Acerca de su clase
Messages:2
Author:Edi A. C.
Date:2016-11-14 16:47:08
 

  1. Mail   Reply   Report abuse  
Picture of Edi A. C. Edi A. C. - 2016-11-14 16:47:08
Se requiere de un buen ejemplo, como desde un formulario de contactenos y la opción de subir, yo lo hago con php, pero esto es distinto ya que es para un recipiente de correo. Por favor si puede dejar un ejemplo con el uso de su clase php mail sending

  2. Re: Mail   Reply   Report abuse  
Picture of Christian Vigh Christian Vigh - 2016-11-14 20:24:29 - In reply to message 1 from Edi A. C.
You may need to google for an example on how to build an html form.

Once the form has been submitted and you have retrieved your form's values through $_GET, $_POST and/or $_FILES, you can get inspiration from the PHP code supplied with the examples. They show how to include the Mail.phpclass file, how to instantiate it, how to set the recipient, the sender, the title and the text and/or html body part of your mail.

They also show you how to add file attachments. There is also a documntation in file README.md