Questions tagged as 'phpmailer'

3
answers

Send email within if with phpmailer

I've already created a phpmailer folder inside my server with the PHPMailer.php and SMTP.php classes. I now have this code to insert into the database table: $data = isset($_POST["DataRegisto"]) ? $_POST["DataRegisto"] : ''; $contacto =...
asked by 11.09.2018 / 15:55
2
answers

PHPMailer not taking form value

So, I have a sample registry form to test PHPMailer, but PHP is not accepting form IDs with the error:    Undefined index HTML and PHP are just below: <?php //ATENÇÃO ESSE TIPO DE ENVIO SOMENTE PARA USO DO GMAIL //PARA USOS DE OUTRO...
asked by 06.09.2018 / 20:23
2
answers

How to put email variables with phpMailer?

$sql = ("SELECT nome, datas FROM tabelas WHERE datediff(now(), data) <= 10 "); $validade = mysql_query($sql); while.... (codigo phpmailer) // corpo da mensagem $PHPMailer->Body = "<p>Faltam 10 dias ou menos para terminar a data do Do...
asked by 10.02.2014 / 19:02
1
answer

How do I send an email? [closed]

I'm using this code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php if($_POST) { require("phpmailer/class.phpmailer.php"); //Importa a class php mailer...
asked by 25.01.2016 / 02:32
1
answer

How to send emails with PHPmailer in localhost without module ssl

Hello everyone, would you like to know if there is a possibility to send localhost emails using the PHPmailer library without having to install the SSL module in Apache and PHP? I've tried a lot of techniques but until now for all you need SSL in...
asked by 31.01.2017 / 06:37
2
answers

Does not send mail with PHP mailer

I have the following code: <?php // Inclui o arquivo class.phpmailer.php localizado na pasta class require_once("a/class.phpmailer.php"); require_once("a/class.smtp.php"); // Inicia a classe PHPMailer $mail = new PHPMailer(true); // Defi...
asked by 17.01.2018 / 17:56