Questions tagged as 'phpmailer'

0
answers

automatic email response with phpmailer

Talk about it! I'm using phmailer to send mail, this is working fine on sending, but I'd like to know how to make an automatic response through phpmailer itself. Could anyone give me a hint? EDITED FOR THOSE WHO HAVE THE SAME DOUBT...
asked by 18.08.2015 / 22:56
1
answer

phpmailer sends email to myself [closed]

<?php require 'funcoes/PHPMailer-master/PHPMailerAutoload.php'; $email = $_POST['email']; $nome = $_POST['nome']; $titulo = $_POST['titulo']; $mensagem = $_POST['mensagem']; $mail = new PHPMailer; $mail->SMTPDebug = 3; $mail->...
asked by 04.08.2015 / 13:32
1
answer

Php mailer embed image does not work

I'm trying to send an image in the body of the email with php mailer follow my cod: $mail->AddEmbeddedImage("img/header.jpg", "img1","header.jpg", "base64", "image/jpg"); and in msg body html so <img src='cid:img1'> Nothing co...
asked by 23.09.2017 / 19:03
2
answers

Send email using PHPMailer

Thank you for your attention! Well I do not have much familiarity with programming with just design. I tried the PHPMailer class to create a simple contact form on my site, I looked for some tips here but I did not have much success, because eve...
asked by 03.07.2018 / 10:20
1
answer

PHP mailer SMTP - Not working

The code I have is the following: require_once ( 'class.phpmailer.php' ); $Mail = new PHPMailer(); $Mail->IsSMTP(); $Mail->Host = ""; // O QUE COLOCAR AQUI?? $Mail->SMTPDebug = 0; // 2 to enable SMTP debug information $Mail...
asked by 01.02.2016 / 23:23
3
answers

Error in PHPmailer: Configuration by Hostnet

<?php // Import PHPMailer classes into the global namespace // These must be at the top of your script, not inside a function use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; //Load composer's autoloader require...
asked by 20.09.2017 / 20:12
1
answer

Send email with specific content of each line returned from mysql

I need to send an email telling the user that your request is expired, I'm going to the bank and I'm looking for all the records in this condition, the problem is that the body of the email has to be the content of each line returned. In each e-...
asked by 27.12.2016 / 12:33
1
answer

Send email to 1 contact array, with phpmailer

I use php mailer to send email, and very simple, I use the following line: // Destinatório e cópia oculta $email->AddBCC('[email protected]', 'hugo'); But I wanted to know how do I send an email to multiple people in an array? Coul...
asked by 21.07.2016 / 15:45
2
answers

Phpmailer sends email but does not send variable values

I'm making a system for sending emails with contact form data to the admin. So far so good, I have managed to configure everything, send the email, but there is a very peculiar problem. The message and subject data are not sent to the email. It...
asked by 03.08.2017 / 03:50
2
answers

Send HTML email with background image and text over the image

I am making a website where the customer registers his email and when registering he will automatically receive an email with a newsletter. To send this email I'm using PhpMailer <?php require 'PHPMailer/PHPMailerAutoload.php';...
asked by 27.04.2017 / 16:25