Questions tagged as 'phpmailer'

2
answers

Sender's Email is the pre-filled email in the form

I would like the email and name of the person completing the form to appear as the sender in my email box, otherwise google groups messages from the same sender. $mail->Sender = "xxxxxx"; // Conta de email existente e ativa em seu domínio $...
asked by 25.09.2017 / 01:49
1
answer

Sending attachment in email PHPMailer [closed]

I have a problem in this code, because when I send the information I send the return = 1, but the attachment is not sent can someone help me? ENVIO.PHP $arquivoreal = $_FILES['arquivo']; $Nome = $_POST['Nome']; $CPF = $_POST['C...
asked by 31.07.2017 / 16:26
0
answers

Error sending form with PHP

I created a script to send an email to my Gmail in PHP, but it is giving me an error while submitting the form, ERROR 405 Not Allowed p> This is my form: <form action="email.php" method="post"> <div class="cols"> <di...
asked by 25.07.2017 / 22:03
1
answer

PHPMailer Error include

I'm having a problem with the PHPMailer class. You are giving a include error. Could someone tell me the reason for the error? PHPcode:<?php//Variaveisquevãoserenviadas$nome=$_POST['nome'];$txttelefone=$_POST['txttelefone'];$email=...
asked by 06.07.2017 / 21:55
0
answers

Error sending email in gmail with PHPmailer

I've been using this code for a long time and it worked really well until now it just does not work anymore, neither with outlook nor with gmail. <?php if($_SERVER['REQUEST_METHOD'] == 'POST' and !empty($_POST['contact_send'])) { $conta...
asked by 22.06.2017 / 17:41
0
answers

Email Duplication Using PHP Mail ()

I need help, I do not know where the error is to generate mail duplicity for only $ to. Here is my code below: $mails = '[email protected]'; $Nome = 'Fulano'; $Email = '[email protected]'; $to = '[email protected]';...
asked by 10.05.2017 / 14:03
1
answer

PHPMailer does not recognize "-" character in form input

Hi, good evening / morning / afternoon. I'm having a problem with a simple registration input. It simply does not recognize the "-" character. I made an email to test "[email protected]" only when it returns with the message whether or not it...
asked by 04.05.2017 / 02:49
0
answers

Declaration error in class phpmailerException

I use wordpress, and I'm using the contact form 7 plugin. When sending an email by clicking the button, it returns me the following error:    Fatal error: Can not declare class phpmailerException, because the name   is already in use i...
asked by 19.05.2017 / 18:51
2
answers

I am trying to send mail with HTML and PHP and I can not [closed]

Well, it's the following, I've created a form to send a quote from my client's client to my client using the site, but he does not click the "send" button and nothing happens and I'm not understanding why. I'll leave the HTML and PHP here in the...
asked by 05.05.2017 / 01:54
2
answers

event.preventDefault () conflicting in Contact form!

Just look at my problem. I have a normal contact form using PHPMailer which in one project worked perfectly, all return messages were using CSS only, without JS. But now in this new project I want to use a JS to make the messages look nicer....
asked by 16.04.2017 / 05:20