Questions tagged as 'phpmailer'

1
answer

PHPMailer works only in some versions [closed]

I have server with IIS. The PHP that I used is 5.3.28 but I did upgrade and today I use PHP 7.0.0 but PHPMailer does not work for this version, but when I configure ISS to 5.3.28 PHPMailer goes back to work. How to configure for PHPMailer to...
asked by 07.12.2017 / 19:18
1
answer

Error in php mailer

I'm using the phpmailer function, follow the settings: $file = str_replace($comacento, $acentohtml, $file); require_once('../phpmailer/class.phpmailer.php'); require_once('../phpmailer/class.pop3.php'); // required for POP before SMTP...
asked by 30.09.2017 / 17:45
1
answer

SMTP Error: The following recipients failed hotmail for companydomain

I have a form in html that the user will enter the name, email, subject and message, considering that the user can enter email from hotmail, gmail, etc ..., and when I confirm I am using the php code below to try send the message to my email, us...
asked by 07.07.2017 / 19:14
2
answers

Send image that is on the server as an email attachment

I need to send an email with folders (images) that are already on the server. Does anyone have an idea how to do this? Sending the email is already working. I'm using codeigniter and phpmailer.     
asked by 19.10.2017 / 16:54
2
answers

Email once a day

Good afternoon, How do I send email once a day. I use phpmailer. I've tried using the while, but I do not know which function determines the amount of every 24 hours. My code: $assunto = "[RemocenteR] Nova Tarefa Cadastrada!"; $men...
asked by 24.05.2017 / 21:38
1
answer

Doubt in PHPMailer

I started using PHPMailer , and it's working but I'd like to know if there's a way for the sender to be the email that the user entered on my form. Note: It sends the form data field: name, subject, and message. Here is the setting t...
asked by 24.01.2017 / 03:57
1
answer

PHPMailer too slow to send emails

I'm using PHPMailer on a GoDaddy host, the registration page takes about 10 ~ 15 seconds just to send the email, is there any efficient way to optimize this? or is it a matter of server capacity? Current setting: $Mailer = new PH...
asked by 07.12.2016 / 06:15
2
answers

Sending PHP Mailer authenticated using Gmail

Colleagues. I'm trying to send an email authenticated by PHPMailer using GMail this way: include("PHPMailer/class.phpmailer.php"); require('phpmailer/PHPMailerAutoload.php'); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPDebug...
asked by 30.04.2016 / 20:27
2
answers

Use PHP variables in the phpMailer HTML email body [duplicate]

I need to send the following message via email using phpMailer: "Hello, [NAME]! There is a new protocol for document # [xxx]". I was able to set everything up correctly, however the location for the name and number remain blank. I was able...
asked by 11.02.2016 / 15:33
1
answer

PHPMailer: Using the email field as sender

I have a question, how can I use the email that was filled in the "E-MAIL:" field of the form as the sender? I need you to press the reply button on the mailbox to fill in the email that is filled in the form ...     
asked by 06.11.2017 / 23:31