Questions tagged as 'phpmailer'

2
answers

Could not access file: Array and syntax error, unexpected '$ name' (T_VARIABLE) [closed]

I am using PHPMailer to send an email with attachment by a form, my code has no errors, but when I finish the form and press send, it returns an error but that the email was sent. Code: $name=$_REQUEST['name']; $email=$_REQUEST['email'];...
asked by 04.12.2015 / 15:08
2
answers

phpmailler error sending email

How can I send more than one 'email' with 'phpmailler' it always gives this error 'Mail error: You must provide at least one email address.' I'm developing a newsletter system that will select all the registered emails but it always does. detail...
asked by 17.11.2015 / 19:24
1
answer

problem sending e-mail with css by phpmailer

Galera I put up an email using html and css. The email arrives perfect in several email, but in G-mail the email arrives without the css, ie just the html. Does anyone know how to solve the problem? Follow my e-mail code: $email->Body...
asked by 23.02.2016 / 14:32
1
answer

how to add hidden copy phpmailer

How do I send a newsletter with a hidden copy to the clients, showing only the email of the same one that was sent? code: require_once("../phpmailer/class.phpmailer.php"); $mysqli = mysqli_connect("localhost","root", "", "projeto") or die(m...
asked by 19.12.2015 / 13:34
2
answers

Help with e-mail form with PHP Mailer

I'm having trouble sending messages through my hosted UOL Host website. They require sending through authenticated SMTP. I'm using PHP Mailer. The form worked but stopped working. contact.php <form name="sentMessage" id="contact...
asked by 16.12.2014 / 14:30
2
answers

Problems with PHPMailer and large emails

I have a problem sending an application email. I've already tried PEAR_Mail in conjunction with PEAR_Mail_Mime and now with PHPMailer (which I found to be more readable). What's happening? When I send out an email a...
asked by 17.06.2014 / 16:45
2
answers

Contact Form PHPMailer does not work

I'm using the PHPMailer class to send emails, but every time I click the submit button it stays with the message forever in the "Sending your message ...". I do not know if the problem is in AJAX or my mail.php . On the console it gives...
asked by 27.01.2018 / 22:41
1
answer

generate and send email with pdf file attached with php

In my PHP script, I need to generate a PDF file and send it via email. I have already been able to send an attached file via email using phpmailer and generate a PDF in the browser using fpdf. The problem is that I can not attach the PDF to t...
asked by 31.08.2018 / 14:36
1
answer

Problem sending mail with PHPMAILER using a GMAIL account for sending [closed]

Code require("phpmailer/class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Charset = 'utf-8'; $mail->Host = 'smtp.gmail.com'; $mail->SMTPAuth = true; $mail->Username = '[email protected]'; $mail->Password =...
asked by 08.12.2017 / 13:01
2
answers

PHPMailer alternative Gmail From

I have a website where there is a contact form. The email sent by this form (Gmail), I use a specific only for the site (form @ .....), however, when sending to the client, set the parameter From as the (contact @ ....), which is from...
asked by 19.10.2016 / 17:34