Questions tagged as 'phpmailer'

0
answers

I can not send mail with PHPMailer on the server

require 'phpmailer/class.phpmailer.php'; require 'phpmailer/class.smtp.php'; $mail = new PHPMailer(); $mail->setLanguage('pt'); $from = '[email protected]'; $fromName = 'EmailServidor'; $host = 'servidor.one.com'; $username...
asked by 12.02.2016 / 21:38
1
answer

How to loop to send my emails?

I'm trying to make the code pick up the emails I'm going to put in a .txt or a form list (while I'm not setting up the database) and loop to send all the emails. It turns out I'm getting this error message and I do not know how to fix the proble...
asked by 24.12.2015 / 01:54
1
answer

Getting src value from an image to send email in phpmailer

On my page, I'm trying to get email sent with data from a form to fill out. One of the fields is an image, which can be changed depending on the option selected: <tr> <td style="text-align: left">Layout: </td> <td>...
asked by 09.10.2015 / 17:00
0
answers

PHP Mailer + MySql

Hello, I have a page to fix that performs 2 functions from the completion of a form: 1- send form info to MySql bank - running ok 2 Confirmation E_mail with the data filled in the form. here's the problem. This part of the code is done in...
asked by 28.03.2016 / 09:36
0
answers

Error phpMailer: Network is unreachable (101)

We were using phpMailer to send e-mails, but it's just a strange behavior not sending emails at all. The error that occurs: SMTP -> ERROR: Failed to connect to server: Network is unreachable (101) The configuration is this: //Set t...
asked by 16.09.2015 / 19:26
1
answer

Sending email by localhost [duplicate]

I'm putting PHPMail on my system in PHP and I want to test it. I use MAMP. Does anyone know which HOST one should put up to send email? In case the system is being run local, ie localhost.     
asked by 26.06.2015 / 22:33
0
answers

How to make the PHP mail () function send via Amazon SES?

How to make the PHP function use my credentials in Amazon SES to send transactional emails without having to use lib PHPMailer or have to install and configure postfix / sendmail for this purpose? Is this a good practice? If not,...
asked by 25.04.2015 / 06:55
1
answer

Login attempt blocked PHPMailer

Good evening, I have a php code that sends a simple email to the user using a Gmail account, I've already enabled Access to less secure apps but I'm still having this return: 2015-04-01 01:24:04 CLIENT -> SERVER: EHLO localhost 2015-04...
asked by 01.04.2015 / 03:38
0
answers

Failed PHP code: Indicates Email Sent But does not send anything

I want to complete this code to send a file whenever a particular page is opened. <?php // Incluir a classe no teu ficheiro require_once 'PHPMailerAutoload.php'; require_once 'class.phpmailer.php'; require_once 'class.smtp.php'; // Instan...
asked by 04.04.2015 / 17:47
1
answer

PhpMailer Internal Server error

I had this function running in localhost perfectly, and in all tests it sent the email's correctly but after I put it on my server it no longer sends the email's and gives the error "500 Internal Server error" does anyone know what the problem i...
asked by 08.01.2015 / 15:42