Most voted "phpmailer" questions
Phpmailer is a class developed for the PHP language for sending email to servers that require SMTP authentication.
Learn more…248 questions
Sort by count of
-
1
votes0
answers1087
viewsAutomatic e-mail response with phpmailer
Fala galera! I am using phmailer to send email, it is working very well in sending but I would like to know how to make an automatic response through phpmailer itself. Could someone give me a hint?…
-
1
votes1
answer1642
viewsPhpmailer works only on some versions
I have an IIS server. The PHP I used is the 5.3.28 however I went to upgrade and today I use PHP 7.0.0 but Phpmailer does not work for this version, but when I set the ISS to 5.3.28 Phpmailer works…
-
1
votes0
answers39
viewsSend email and record record automatically in BD (called)
I have the following need. I am creating a system of calls to a client in PHP, and everything will be registered in the Mysql database and for each response, an email will be sent (via Phpmailer,…
-
1
votes1
answer628
viewsPhpmailer works with Gmail but not with Hotmail/Live
I have the following code: <?php require'PHPMailerAutoload.php'; $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Port = '465'; $mail->Host = 'smtp.gmail.com'; $mail->IsHTML(true);…
-
1
votes0
answers21
viewsPhpmailer / Codeigniter
Hello, good afternoon, everyone. I have a question about the project I was given. I have to create an email client within the codeigniter platform that is being developed, I have researched and seen…
-
1
votes2
answers4492
viewsUse PHP variables in the body of phpmailer’s HTML email
Staff need to send the following message by e-mail using phpmailer: "Hello, [NAME]! There is a new protocol regarding document no [xxx]". I was able to configure everything right, however the…
-
1
votes0
answers51
viewsPHP and Javascript - E-mail when label is clicked
I have a form on my page, and part of it can be printed when clicked on a Print label: <label id="printEvento" class="textDescricaoSobre font13" style="cursor: pointer">IMPRIMIR…
-
1
votes4
answers265
viewsPhpmailer without ajax
I have a form that I am passing via post to the phpmailer script, after sending it redirects to another page saying if the form was sent or not, but does not return the form page, I tried to do via…
-
1
votes1
answer1145
viewsPhpmailer too slow to send emails
I’m using the PHPMailer on a Godaddy host, the sign-up 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?…
-
1
votes1
answer93
viewsDoubt in Phpmailer
I started using the PHPMailer, and is working but would like to know if there is how the sender is the email that the user typed in my form. Note: It sends the form data field: name, subject and…
-
1
votes1
answer400
viewsE-mail Phpmailer to Hotmail
I am not able to send an email form to my e-mail Hotmail. Below follow the codes: Form with the data that will be sent. <form id="form-contato" method="post" action="email.php"> <div>…
-
1
votes1
answer3461
viewsSMTP ERROR: Failed to connect to server: (0)
I’m using AWS Elastic Beanstalk and I can’t send mails with Phpmailer. On my local server it works right with exactly the same configuration. AWS Elastic Beanstalk uses Red Hat 4.8.3-9... I tried…
-
1
votes0
answers134
viewsE-mail with Phpmailer and Cron (Ubuntu)
To schedule email submissions, do you need to do something other than put the file inside the /etc/cron.Aily folder (for daily submissions)? This code works when I run directly on the server, you…
-
1
votes2
answers1069
viewsSend email once a day
Good Afternoon, How do I send email once a day. I use phpmailer. I tried using while, but don’t know what function determines the amount every 24 hours. my code: $assunto = "[RemocenteR] Nova Tarefa…
-
1
votes1
answer931
viewsSMTP Error: The following Recipients failed from Hotmail to enterprise
I have a form in html that the user will enter the name, email, subject and message, considering that the user will be able to type email from Hotmail, gmail, etc..., and when you confirm I am using…
-
1
votes0
answers62
viewsCheck if email has been uploaded with image embed or otherwise
I’m sending an email notification with phpmailer. These notifications are very important because they are firewall reports and I need to know when the person who should receive them read this…
-
1
votes1
answer1580
viewsError in php Mailer
I am using the phpmailer function, follow the settings: $file = str_replace($comacento, $acentohtml, $file); require_once('../phpmailer/class.phpmailer.php');…
-
1
votes0
answers52
viewsSending emails inside a local server?
I have a website on my localhost and would like to be able to send emails. I tried with the function mail() but I couldn’t. So I found a way using PHPMailer. I have the following code <?php…
-
1
votes1
answer23
viewsError in Phpmalier class
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…
-
1
votes0
answers45
viewsI cannot send email localhost
I am unable to email from my localhost site. The following message appears: /* SMTP -> ERROR: Failed to connect to server: (0) SMTP Error: Could not connect to SMTP host. <?php // Inclui o…
-
1
votes0
answers247
viewsPhpmailer error while connecting
I’m trying to send an email from my Localhost, but I can’t. My code: <?php require_once('config/phpmailer/class.phpmailer.php'); // //$email = $_POST["email"]; // $mail = new PHPMailer(); //…
-
1
votes0
answers308
viewsEmail does not send to hostgator addresses
I am configuring the sending of email in wordpress without plugin with native wpmail, however I can not send to an email address hostgator, when I send to gmail or other provider works perfectly,…
-
1
votes3
answers2044
viewsPHP Mailer - "Could not connect to SMTP host"
I am trying to send an email using Phpmailer, but without success. My code is this: <?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; //Load composer's autoloader…
-
1
votes1
answer594
viewsEmail phpmailer
I’m creating a form that when filled sends a confirmation email, so far so good, but I wanted him to also send an email to me with the data filled in the form, follows below my code /* Recuperar os…
-
1
votes0
answers394
viewsProblem with sending phpmailer to the server
Guys, this could be a simple or complicated problem, I just know I can’t fix it. I’ve done thousands of research on hosting topics, here at Stack, but it still doesn’t work, so I don’t know if the…
-
1
votes1
answer2232
viewsError in mail() - Must Issue the STARTTLS command first
Well, I researched about the error, many users said that should be added the ssl:// at the smtp.google.com or the tls:// at the imap.google.com, using ports 465(or 993 as an alternative) and 587…
-
1
votes1
answer54
viewsDoes not send html by email php
I created a code to send e-mail, but not send anything html, my code is <?php $email = $_POST['email']; $emailenvio = "[email protected]"; $subject = "Recuperar a senha!"; $img = "…
-
1
votes0
answers34
viewssmtp error in php code
I have the following problem, here is the configuration file: define('MAIL_HOST','xxxxx'); define('MAIL_USER','xxxxx'); define('MAIL_PASS','xxxxx'); define('MAIL_FROM','xxxxx');…
-
1
votes2
answers61
viewsProblems with the return of $_POST values
I am sending, through a form, an email. I do the tests, but it receives only 3 of the 4 fields, it is simply as if the field with the name and con_phone did not exist. HTML: <form…
-
1
votes0
answers78
viewsUsing Phpmailer and Ajax with Slim Framework
I’m a beginner in PHP and I need to treat a post route using Ajax, Slim and Phpmailer. In my index where you have the form I am using this jquery code for Ajax request: <script> $(function ()…
-
1
votes0
answers20
viewsHow to format text in email message via phpmailer?
I’m using Phpmailer to send some emails. But the message is going with a break in the characters due to the Phpmailer coming with the native location in English. Example: This message is a message…
-
1
votes0
answers21
viewsWhen I try to send an email using quotes using phpmailler the email does not send,
Guys I’d like your help! I set up phpmailler in my project and everything worked right, but when I try to send an email with single or double quotes the email does not send! how do I resolve without…
-
0
votes0
answers331
viewsHow do PHP mail() send via Amazon SES?
How to make the function mail() of PHP use my credentials on Amazon SES to send transactional emails without using lib Phpmailer or having to install and configure the postfix/sendmail for that…
-
0
votes1
answer75
viewsSending email by localhost
I am putting in my system in PHP Phpmail and I want to test. I use the MAMP. Does anyone know which HOST to put in to send email? In this case, the system is running locally, ie localhost.
-
0
votes0
answers45
viewsIs it possible to use Phpmailer on my localhost?
Is it possible to use Phpmailer on my localhost? I’ve tried it several times. I’m trying to send emails with gmail (I don’t know if this is possible). I need to own a domain to use phpmailer?
-
0
votes1
answer333
viewsHow do I get Phpmailer to send from my own server?
I asked the question below and after trying several ways to send email via localhost I got it from Phpmailer: How to send email from localhost using the PHP mail function? However I got through the…
-
0
votes1
answer263
viewsPHP does not send email and no error appears
I am using PHP Mailer to send an email but it is not sending and no error appears. FORM: <form method="post" action="enviar_mensagem.php"> <ul style="margin-left: 15px;">…
-
0
votes2
answers1988
viewsAuthenticated PHP Mailer Sending 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…
-
0
votes1
answer662
viewsError sending email with PHPMAILER
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…
-
0
votes1
answer803
viewsPhpmailer Internal Server error
It had this function running on the localhost perfectly, and in all tests it sent the emails correctly but after I put it on my server it no longer sends the emails and gives the error "500 Internal…
-
0
votes1
answer272
viewsTrying blocked Phpmailer login
Good night, I have a php code that sends a simple email to the user using a Gmail account, already activated the Access to less secure apps but I’m still getting that feedback: 2015-04-01 01:24:04…
-
0
votes1
answer162
viewsSend e-mail to 1 contact array, with phpmailer
Guys I use php Mailer to send email, and very simple, use the following line: // Destinatório e cópia oculta $email->AddBCC('[email protected]', 'hugo'); But I wanted to know how to send an…
-
0
votes3
answers708
viewsHow to check the return of a function
Galera set up a function that executes the class phpmailer and send an email. However I do not know how to check her return and know if the email was sent. Good follows the function: function…
-
0
votes0
answers30
viewsWeb Fonts do not work when sending email with Phpmailer
When I send an email using Phpmailer the fonts are not recognized by gmail, I was already aware of some problems with CSS and having user the inline css in the "style" tag, there is some way to…
-
0
votes0
answers554
viewsFailed PHP Code: Indicates Sent Email But Sends Nothing
I want to complete this code to send a file whenever a given page opens. <?php // Incluir a classe no teu ficheiro require_once 'PHPMailerAutoload.php'; require_once 'class.phpmailer.php';…
-
0
votes1
answer2147
viewsSending link by email with Phpmailer
I’m having a hard time sending one link with references, by email, with Phpmailer. Can someone help me? require 'phpmailer/PHPMailerAutoload.php'; $mail = new PHPMailer; $mail->IsHTML(true);…
-
0
votes0
answers136
views -
0
votes1
answer75
viewsPhpmailer does not recognize "-" character in the form input
Hi good evening/morning/afternoon. I’m having a problem with a simple registration input. It just doesn’t recognize the "-" character. I made an email to test "[email protected]" only when you…
-
0
votes0
answers49
viewsPHP attachment / Coded attachment
I’m trying to send a php attachment by the mail function, with a code I picked up on a website, but it’s not working. When I send the message it arrives right, however, only that it was to be…
-
0
votes1
answer1296
viewsConfigure PHPMAILER 6.0.1
Guys, I was using phpmailer 5.x. x to send emails (using gmail) through my site. It worked perfectly. We recently suffered some attacks due to security issues of this version. So I need to upgrade…
phpmailerasked 7 years, 1 month ago Felipe Batoni 1