Questions tagged as 'phpmailer'

1
answer

Big problem with PHPMailer, I can not get it to send emails [attached error]

I'm running a script that sends emails, but I can not get it to work. This is my code. Any comments?: <?php // Import PHPMailer classes into the global namespace // These must be at the top of your script, not inside a function use PHPMa...
asked by 22.02.2018 / 16:28
2
answers

SMTP error: Could not connect to the SMTP server

I can not send emails from my application, this is with the phpMailer library, when sending emails it shows me the error message SMTP: Could not connect to the SMTP server. Enter all the parameters of the server, which is smtp.gmail.com, user...
asked by 27.09.2017 / 23:46
2
answers

Confirmation message phpmailer

I'm doing a web (I'm just learning) and I made a contact form with phpmailer, it sends me everything correctly but what I want is to change the confirmation message when the email is sent, so now it redirects me to contact.php and I shows jn com...
asked by 28.08.2017 / 03:23
1
answer

Cron job php to send mass mail

I have made a small program in php that consults who is celebrating the day today and sends a congratulatory email to the people who throw the query, with PHPMailer, everything works perfect, now I want to automate it, and I want to create a cro...
asked by 08.05.2017 / 16:52
2
answers

How to send a pdf with PHPMailer

I have the following code that generates a pdf $pdf = new FPDF(); $pdf->AddPage(); $pdf->SetFont('Arial', '', 10); $pdf->Image('../../imagenes/3.png' , 1 ,-5, 60 , 50,'PNG'); $pdf->SetFont('Arial', 'B', 15); $pdf->Ln(15); $pdf-&...
asked by 04.04.2017 / 23:30
2
answers

Error sending mail with phpmailer, connect () failed [duplicate]

I have installed PHP v5.6.25 (I use the 64x version) and wampserver v3.0.6, Apache 2.4.23. I have made some port modifications since I have followed several tutorials on YouTube, but I do not remember which lines I have modified on a regula...
asked by 04.04.2017 / 21:51
1
answer

Php smtp error godaddy

I am trying to send a form in PHP to send it through the Godaddy server, but when I send it I get the error <?php $nombre = $_POST['nombre']; $email = $_POST['email']; $compania = $_POST['compania']; $telefono = $_POST['telefono']; $pais =...
asked by 30.05.2017 / 05:14
1
answer

How can I send emails to my gmail automatically using PHPMailer?

Good morning, I have some questions about how to program in php a program that sends emails to my gmail automatically. In my case, I want the end of the month automatically send an email to my gmail with some information. How can I do it?...
asked by 29.04.2017 / 08:40
1
answer

Send a PDF report with PHP on certain dates automatically

Good afternoon: I have the need to send PDF a Query of MySQL . That is, I need to send a report in PDF according to a query and I need to send it on the 14th and 30th days of each month. This could perhaps send it with phpmailer...
asked by 10.01.2017 / 19:10
2
answers

problems with PHPmailer

I need to send emails by form through the PHPmailer library. I am working temporarily with localhost with TestMailServer Tool as mail server. I have the php.ini file correctly configured for these purposes. I made a new folder where I put the fo...
asked by 27.02.2017 / 16:41