Questions tagged as 'phpmailer'

2
answers

Avoid forwarding mail when reloading the page

A question would have some way of avoiding email resending (I am using the PHPMailer library) when reloading the page without using a button, since I am developing a notification system, but I have a problem that the notifications are they keep...
asked by 18.01.2018 / 15:41
3
answers

Rare characters in emails sent with PHP

I am developing a website that should send e-mail with different types of notifications to users. For sending them I am using the class PHPMailer. The e-mail is sent from the server, with that I have no problem, but when I open the mail in the c...
asked by 27.11.2017 / 21:14
3
answers

PHPMailer and Gmail conect server error

I see myself in the painful obligation of coming to you for help. Even though I had already posted something about PHPMailer it turns out that now it stopped working like out of the blue. I tell you: I have the following code (I omitted the mysq...
asked by 24.10.2017 / 06:46
1
answer

SMTP connect () failed

Thanks for your kind help:) At the moment I am trying to send an email using PHPMailer to which I get the following error: SERVER -> CLIENT: 220 smtp.gmail.com ESMTP t129sm8288876vkc.0 - gsmtp CLIENT -> SERVER: EHLO localhost SERVER -...
asked by 05.10.2017 / 04:46
1
answer

Problems with the accents in the subject of PHPMailer

I am using PHPMailer to send emails for password recovery, welcome ... etc. The fact is that the body of the message is correctly coded by applying $mail->CharSet = 'UTF-8'; but the subject of the message does not recognize the accents...
asked by 10.09.2018 / 12:02
2
answers

Email to external domains

I need help to send an email with an html design in php mailer , the fact is that I send my recipient email to an external server (not to gmail, or to hotmail, etc.), when sending it , all the html document is outdated and does not arrive as it...
asked by 12.07.2018 / 00:15
2
answers

Error php: Can not modify header information - headers already sent by

I have a form that sends an email to the email. I have the web page uploaded to hostinger and from one day to the next without touching anything this error gives me: I think the error is in the header, when trying to redirect the page to the ind...
asked by 11.04.2018 / 10:41
1
answer

Attach several files and send them by phpmailer

How can I attach several files (more than two files) using an input file with the PHPMailer library? So far I have been able to send it, but I need to add more attachments. $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPAuth= tr...
asked by 01.11.2017 / 19:05
1
answer

Error with phpmailer form Deprecated: Function split

I want to send a form to a personal email, use an example of phpmailer that I saw in this forum, and it worked, the email is sent, but by showing the echo with the confirmation, first a couple of messages appear, which I do not want that they ap...
asked by 09.09.2017 / 02:08
1
answer

Class PHPMailer not found in

I need help, I need to send emails and at the time of registering a ticket you should send one but only save it in the database and do not send mail and send this error "class phpmailer not found in (directory where the file is) ".     
asked by 27.09.2017 / 21:38