Questions tagged as 'phpmailer'

1
answer

phpMailer is not getting the values from my database

I'm trying to recover email and password, where: $o_email = $_GET['email']; $celular = $_GET['celular']; Receives via email the user's email or mobile phone. But I'm not getting this recovered data to play in phpMailer. What can I be doi...
asked by 25.07.2017 / 19:46
1
answer

how to send PDF by email with dompdf

How do I send a pdf generated by email with dompdf ? Here is my source code: /* Cria a instância */ $dompdf = new DOMPDF(); /* Carrega seu HTML */ $dompdf->load_html("<p align=\"center\"><img src=\"caminho da...
asked by 04.06.2017 / 07:54
1
answer

Sending e-mail with mail function

I have a site on the localweb, and the first question is: Can I send email without authentication? Good by the way I think not, for although it appears written "Your email was sent successfully!" I do not receive the email. Second question, to a...
asked by 16.01.2017 / 23:42
1
answer

Checkbox and PHPMailer

Hello, everyone! I'm not able to send checkbox values through PHPMailer. Could someone give me a tip? $precisa = implode(",", $_POST['precisa[]'] ); <label> <p style="margin-right: 40px;">O QUE VOCÊ PRECISA?...
asked by 12.06.2015 / 22:15
1
answer

Email phpmailer [duplicate]

I'm creating a form that when completed sends a confirmation email, so far so good, but I wanted it also sent an email to me with the data filled in the form, the client wants that information go to his email , I'm using phpmailer, follow belo...
asked by 26.06.2018 / 20:32
0
answers

Send e-mail and record log automatically in DB (called)

I have the following need. I am creating a system called for a client in PHP, and everything will be registered in the MySQL database and for each answer, an email will be forwarded (via PHPMailer, for example). I need this message to be reco...
asked by 27.04.2018 / 18:39
0
answers

PHPMailer error connecting

I'm trying to send an email from my Localhost , but I can not. My code: <?php require_once('config/phpmailer/class.phpmailer.php'); // //$email = $_POST["email"]; // $mail = new PHPMailer(); // $mail->IsSMTP(true); $mail->Host =...
asked by 15.12.2017 / 01:14
0
answers

Email does not send to hostgator addresses

I'm configuring email sending in wordpress without plugin with native wpmail, however I can not send it to a hostgator email address, when I send it to gmail or another provider it works perfectly, however for unknown addresses that is, that the...
asked by 20.12.2017 / 13:21
1
answer

Error in class PHPMalier

I would like your help! Have the following class to send emails in php: <?php // Import PHPMailer classes into the global namespace // These must be at the top of your script, not inside a function use PHPMailer\PHPMailer\PHPMailer; use PHP...
asked by 12.11.2017 / 19:54
0
answers

Send mail within a local server?

I have a site in my localhost and would like to be able to send emails. I tried the mail() function but I could not. Then I found a form using PHPMailer . I have the following code <?php $oc=$_POST['razao']; $rua=$_P...
asked by 03.11.2017 / 20:43