Questions tagged as 'phpmailer'

1
answer

Sending a link via email with PHPMailer

I'm having trouble sending a link with references by email with PHPMailer. Can anyone help me? require 'phpmailer/PHPMailerAutoload.php'; $mail = new PHPMailer; $mail->IsHTML(true); $titulo = "Parabéns! Surgiu alguém...
asked by 09.07.2015 / 18:06
1
answer

Error sending email with PHPMAILER [closed]

Hello, follow the code: Inicia a classe PHPMailer $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "smtp.dominio.com"; $mail->Username = '[email protected]'; // Usuário do servidor SMTP $mail->Password = 'senha123'; //...
asked by 09.12.2014 / 21:40
1
answer

How to make PHPMailer send from my own server?

I asked the question below and after trying several ways to send email through localhost I got it with PHPMailer: How to send localhost email using the PHP mail function? However, I did it through the example for Gmail that is inside the...
asked by 22.11.2014 / 23:37
1
answer

Only send a product inside the email

I enter 3 different tables and when the no checkbox is different from empty, it sends an email to the person in charge. Everything is working properly. I'll show the code: $Carro = $_POST['Carro']; for ($i=0;$i<count($_POST["Carro"]);$i+...
asked by 29.11.2018 / 16:49
1
answer

PHP - PHPMailer: stream_socket_enable_crypto (): SSL operation

I'm trying to send an email, I'm using the PHPMailer library, and then the following error appears:    stream_socket_enable_crypto (): SSL operation failed with code 1.   OpenSSL Error messages: error: 1408F10B: SSL   routines: SSL3_GET_RECOR...
asked by 10.12.2018 / 21:56
0
answers

Send a CANVAS via email via PHPMailer

I'm creating a simulator with cart, where when the customer adds the simulated product to the cart, you have to send the generated print along with the email to the commercial. But I can not think of a way that the generated image (CANVAS or...
asked by 21.11.2018 / 12:28
1
answer

Save email to SENT, IMAP folder

I am trying to save emails sent by PhpMailer in the "Sent" folder, so that whoever accesses the email will see what was sent by the system. I can save the Inbox folder with the following code: $mailbox = "{".$mail->Host.":143/novalidate...
asked by 12.11.2018 / 14:13
0
answers

Could not access file: photos /

   Problem is that it does not have access to the folder Since it already has access to the 777 folder for me to do the tests I do not know what to do anymore I checked for ajax even though I disabled it, it's equal error and inside the form...
asked by 23.10.2018 / 21:29
0
answers

Email sent by phpmailer function goes to spam [duplicate]

The code below sends the email correctly, however, it goes to the spam box, either for Gmail, Yahoo, Outlook etc. Is the problem in the code or server that sends the email ?! Just to note the server I use is in http and not https. <?php /...
asked by 21.09.2018 / 05:36
2
answers

Attachment with phpMailer does not arrive

I'm creating a system for sending a resume, it's working properly, but the attachment does not arrive. PHP: <?php $nome = strip_tags(trim($_POST['nome'])); $email = strip_tags(trim($_POST['email'])); $assunto = strip_tags(t...
asked by 12.09.2018 / 14:01