Questions tagged as 'phpmailer'

1
answer

HTML email image in PHPMailer

I'm making a template for sending email marketing, which contains an image: <tr> <td style="padding: 10px 0 10px 0;" align="center" bgcolor="#1ac6ff"> <img src="templates/email/logo.png" alt="Ticket" style="display: inl...
asked by 26.03.2018 / 14:10
1
answer

Failed to send email with phpmailer

I use PHPMAILER on another site where it works perfectly. However, this same code does not allow me to send emails, it gives Sucesso and no error appears. I used the code $mail->SMTPDebug = 2; and I can not find any error...
asked by 19.03.2018 / 18:19
2
answers

Select image - phpmailer submission

I'm trying to send an email through phpmailer with a signature image at the end, in case I have this select to select the desired signature. <select class="form-control" id="assinatura" name="assinatura">...
asked by 16.02.2018 / 13:52
1
answer

Send email On LocalHost or Server without Mail ()

Hello, I have the system PHP below to perform the registration after submitting the user, the registration usually occurs, however I would like an email to be sent to the registered email, but the way I did it is not being sent Can someon...
asked by 15.12.2017 / 19:39
1
answer

PHP Mailer class does not work

I'm trying to send an email through php using PHP MAILER but I always get the class error nonexistent and I do not know what to do. Error: Fatal error: Class 'PHPMailer' not found in /home/ortop753/public_html/teste.php on line 6 Code:...
asked by 08.12.2017 / 13:30
1
answer

PHPMailler Attachment with Tmp name

I have the following code in PHP, using PHPMailer to email files from a multiple upload, is working the problem is that in the email the name of the files gets the name of the tmp folder for example: "/ tmp / php / Z9MDY7" instead of the name of...
asked by 28.09.2017 / 15:18
1
answer

Configure PHPMAILER 6.0.1

Well, I was using phpmailer 5.x.x to send emails (using gmail) through my site. It worked perfectly. We recently suffered some attacks due to security issues with this release. So I need to upgrade to version 6. I can not find anything to hel...
asked by 01.10.2017 / 06:47
1
answer

Email form does not work on smartphones only!

Hello everyone! All right? This is my first post here. I have a silly problem, but there are three, four days! I started to develop recently and this is my first commercial project. It's pretty much done, but my email form is not working when th...
asked by 19.11.2017 / 19:42
1
answer

PHPMailer return true or false [closed]

I would just like phpmailer to inform me if it was sent or not: I tried this way: function enviar_email($titulo, $email, $corpo){ $enviado = false; require_once("../servicos/phpmailer/class.phpmailer.php"); define('GUSER', 'em...
asked by 13.06.2017 / 21:26
1
answer

Certificate error while sending an email

Hello, yesterday when sending an email through my website and my client created by wordpress, I encountered an error sending the email: Warning: stream_socket_enable_crypto(): Peer certificate CN='*.locaweb.com.br' did not match expected CN='...
asked by 15.05.2017 / 18:51