Questions tagged as 'phpmailer'

0
answers

Mailer Error: Could not access file PHP Mailer

My problem is as follows. I am trying to attach a file pdf by means of the function AddAttachment of PHPMailer but it throws me the following error:    "Message could not be sent. Mailer Error: Could not access file:   /a...
asked by 17.09.2018 / 22:08
1
answer

how to send several emails with checkbox and phpmailer

I need to send an email to several recipients from a database I do it with a while and if it shows me the emails that I have but when sending it, it only sends it to the first email that I have in the list, this is my code. . $query="SELECT...
asked by 13.08.2018 / 19:26
1
answer

PHP Mailer | The emails do not arrive and a strange message comes out when sending

I have a problem several days ago and I am not finding a solution anywhere, first try with php mail, and it did not work for me and they recommended me to use php mailer, but in the same way I think that the secure mail server does not work or n...
asked by 16.08.2018 / 17:39
0
answers

address to a page with php

I am making a form that when sending the data by mail if they are sent successfully I return to the home page but doing so gives me the following error:    Deprecated: preg_replace (): The / e modifier is deprecated, use preg_replace_callback...
asked by 02.08.2018 / 17:24
0
answers

php mailer with gmail account does not work when I return from a hosting change

I just changed from a web hosting to a previous one because the new one gave me errors, however, when I try again to send emails in the previous hosting using phpmailer I do not send emails, however, in the new one, with errors send. Do I have t...
asked by 03.07.2018 / 07:12
1
answer

css to square image in the center using divs in phpmailer

I have the following problem and that is that I am building a body for the emails that I send on my page. I am using css to be able to bring and place the background image in a div that contains the data sent in the form that through phpmailer w...
asked by 30.06.2018 / 22: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
2
answers

Doubt with phpmailer

I am sending an email in PHP using the php mailer library but the problem is that I want the button to say loading while the email was sent and after it says it has successfully sent its mail, check the Inbox PHP Code: //send mails $mail...
asked by 12.06.2018 / 21:50
0
answers

Error sending mail with PHP Mailer

I have a form that I send by mail using PHP Mailer, it worked perfectly when I put it in a site at the end of last year, but today the client informs me that every time he tries to send the form, the error message that I defined appears to do th...
asked by 28.05.2018 / 20:11
0
answers

Error "Could not instantiate mail function." Php Mailer

I have a form that I want to send with PHPmailer, but I want to send it without using SMTP, since I would like it when the emails arrive, where it says "FROM:" appears the email of the sender. In fact, with the code below I had already achieved...
asked by 29.05.2018 / 04:43