$mailer->Username = 'email@example.com'; // Change this to your gmail adress
$mailer->Password = '123456'; // Change this to your gmail password
$mailer->From = $nameMail; // This HAVE TO be your gmail adress
$mailer->FromName = $name; // This is the from name in the email, you can put anything you like here
$mailer->Body = $body ;
$mailer->Subject = $sub;
$mailer->AddAddress($address); // This is where you put the email adress of the person you want to mail
echo "Message was not sent<br/ >";
echo "Mailer Error: " . $mailer->ErrorInfo;
echo "Message has been sent";
ofcourse there are the phpmailer class and the smtp class within the same folder .
as i said .. it was working before a short period of time .. but now it is not .
There are times when I have encountered the need to decompress a response from a PHP request.
This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing.
Set up your basic HTML file. Open your form tag and set the method and action attributes.:
Set up your first few inputs one for the name and …