I would like to know how to make the "to:" in the email correspond to the field in the table, that is, that for example I have two emails, one email is [email protected] and the other email from the bank is [email protected] ,...
I am running the phpmailer codes and the following error message appears:
Fatal error: Class 'SMTP' not found in public_html / php / phpmailer / class.phpmailer.php on line 1291
Can anyone help me?
I have a .html email template with + - 700 lines (created in Mailchimp ) and I need to insert some values retrieved from the database (similar to what Velocity does) before sending it to the client.
Although I do not need to enter s...
I have created a code to send email, however do not send anything html, my code is
<?php
$email = $_POST['email'];
$emailenvio = "[email protected]";
$subject = "Recuperar a senha!";
$img = "...
I'm trying to send an email using PhpMailer, but to no avail.
My code is as follows:
<?php
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
//Load composer's autoloader
require 'vendor/autoload.php';
$mail = new...
I can not configure my email in PHPMailer , my code looks like this:
$mail->IsSMTP(); // Define que a mensagem será SMTP
$mail->CharSet = 'UTF-8';
$mail->Host = "smtp.live.com"; // Endereço do servidor SMTP (caso queira utilizar...
I have a form that I'm passing via post to the phpmailer script, after sending it it redirects to another page saying if the form was sent or not, but it does not return to form page, I tried to do via ajax and I could not: / p>
Submit doe...
I'm using Phpmailer to do email sending but I'd like to know why when I try to create a PDF attachment the file does not open right,
with the sending is everything normal, until the pdf is generated, but it does not open.
this function below tha...
My code is working, but when it runs next to the message (which appears when the sending process is complete), the following information appears:
2014-11-18 16:19:05 CLIENT -> SERVER: EHLO .org.br
2014-11-18 16:19:05 CLIENT -> SERVER: S...
I have records in MySql , basically with columns:
usuario, emailusuario, descricao, responsavel, emailresponsavel .
I need to make a new registration, send an email to the user ( emailusuario ) and the responsible ( em...