Questions tagged as 'phpmailer'

2
answers

How to send email to several people with PHPMailer?

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] ,...
asked by 25.12.2015 / 05:25
2
answers

Phpmailer displays SMTP error

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?     
asked by 03.07.2015 / 02:00
3
answers

Send email with dynamic content in PHP

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...
asked by 13.03.2015 / 21:55
1
answer

Do not send html by email php

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 = "...
asked by 20.12.2018 / 13:49
3
answers

PHP Mailer - "Could not connect to SMTP host" [duplicate]

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...
asked by 18.02.2018 / 17:31
3
answers

Configure PHPMailer with hotmail

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...
asked by 14.07.2015 / 16:26
4
answers

PHPMailer without ajax

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...
asked by 16.06.2016 / 18:48
1
answer

Error Generating PDF with PHPMailer [closed]

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...
asked by 24.10.2015 / 04:44
1
answer

PHPMailer displaying an unknown message

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...
asked by 18.11.2014 / 17:21
1
answer

Sending e-mail with multiple senders and recipients

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...
asked by 05.03.2018 / 16:18