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
-
0
votes0
answers470
viewsphpmailer error: Network is unreachable (101)
We were using phpmailer to send emails, but simply overnight the same is with a strange behavior not sending emails. The error that occurs: SMTP -> ERROR: Failed to connect to server: Network is…
phpmailerasked 9 years, 2 months ago adventistapr 5,498 -
0
votes1
answer412
viewsSend HTML e-mail template with Phpmailer
People I’m trying to send e-mail using phpmailer, but with the message using html template, but this going only the codes by email, some tip of how to do?
-
0
votes0
answers192
views -
0
votes0
answers179
viewsProblems with SMTP PHP Authentication Adobe Muse
Hello, I’m trying to convert the Muse contact form that uses the anonymous php mail() function, and my provider no longer supports this type of configuration. I have searched several forums and…
-
0
votes0
answers61
viewsPHP - Temporarily save PDF file
The system I am developing generates PDF files and stores them in a folder to be sent by email. Is it possible to temporarily save this file while it is attached and the email is sent? If so, how?…
-
0
votes1
answer736
viewsTaking src value of an image to send e-mail in phpmailer
On my page, I’m trying to get an email sent with data from a form to be filled in. One of the fields is an image, which can be changed depending on the selected option: <tr> <td…
-
0
votes0
answers138
viewsLimit on sending messages
I’m creating a system that has a confirmed criminal record. I’ve been researching some of the lodgings and I saw that some or almost all of the ones I researched had a limit on sending messages:…
-
0
votes1
answer942
viewsImage in HTML e-mail in Phpmailer
I’m making a template for sending email marketing, which contains an image: <tr> <td style="padding: 10px 0 10px 0;" align="center" bgcolor="#1ac6ff"> <img…
-
0
votes0
answers131
viewsPHP Mail sends email to spam
I am wanting to send an email using phpmail, but it always falls as spam. There is something I can do to not get into spam? I made a very simple code to test: mail($email,"Assunto do email","Corpo…
-
0
votes0
answers53
viewsPhpmailer: SMTP connect() failed
I am making authenticated submissions, but it is strange that sometimes it sends normally, and other failures occur. The client insists that on his server everything is correct, and now I am already…
-
0
votes1
answer424
viewsPhpmailer with Locaweb - Not saving emails sent in my Locaweb account
I have set up Phpmailer and it is sending the emails correctly, but in the mailbox of my account these sent emails are not registered. I have to make some configuration for that?
-
0
votes0
answers148
viewsPhpmailer Addattachment does not work
good night. I’m trying to make an attachment on Phpmailer as follows: $arquivo = '../enviados/planilha.xlsx'; $mail->AddAttachment($arquivo); This way, the attachment does not go along with the…
-
0
votes1
answer225
viewsSave email to SENT, IMAP folder
I am trying to save the emails sent by Phpmailer in the "Sent" folder, so that those who access the email see what was sent by the system. I can save to the folder Inbox with the following code:…
-
0
votes0
answers33
viewsSend a CANVAS by email via Phpmailer
I am creating a simulator with cart, where when the customer adds the simulated product in the cart has to send the generated print along with the email to the commercial. But I can’t think of a way…
-
0
votes1
answer366
views -
0
votes1
answer87
viewsI changed the html of the form, now the php file does not respond
Good afternoon, you guys, I am at the end of a project, and the php file of the forms do not respond. I have 02 separate forms on the page, one of them has file submission input. None of them are…
-
0
votes0
answers42
viewsPhpmailer, read email in php
Good afternoon ! I did a search on the internet and I didn’t think much about, I don’t know if with phpmailer or any other tool that is better, I would have some way of monitoring the emails I…
-
0
votes1
answer61
viewsE-mail with Phpmailer using PHP variable
I am trying to email the Phpmailer class but I am having trouble. Here I get a good one: $mail->AddAddress('[email protected]', 'Nome do Destinatário'); But when I put a variable, it…
-
0
votes2
answers58
viewsProblem creating object in phpmailer: $email = new Phpmailer();
I’m doing a project and I’m trying to use phpmailer to send an email from localhost. if (isset($_POST['name']) && isset($_POST['email'])) { $name = $_POST['name']; $email = $_POST['email'];…
-
0
votes0
answers14
viewsProblems with HTML5 Setup form -> Phpmailer
good afternoon! Well, I opened a small business, and I’m doing my site myself (rs), I haven’t done anything in PHP and, even worse, in Js. Basically I took a code ready somewhere on the internet for…
-
0
votes1
answer242
viewsSetting up Phpmailer for Newsletter
I am using Wordpress and in it, the plugin Sendpress for sending the Newsletter. The configuration is made from the file Phpmailer. The problem is that it is only sending to emails that are within…
-
0
votes1
answer324
viewsPHP Mailer SMTP - Does not work
The code I have is this:: require_once ( 'class.phpmailer.php' ); $Mail = new PHPMailer(); $Mail->IsSMTP(); $Mail->Host = ""; // O QUE COLOCAR AQUI?? $Mail->SMTPDebug = 0; // 2 to enable…
-
0
votes0
answers587
viewsI can’t email with Phpmailer on the server
require 'phpmailer/class.phpmailer.php'; require 'phpmailer/class.smtp.php'; $mail = new PHPMailer(); $mail->setLanguage('pt'); $from = '[email protected]'; $fromName =…
-
0
votes1
answer799
viewsI do not receive email via Phpmailer
I’m using Phpmailer to send a message via form, but it’s not working. I’d like to know where I’m going wrong. Remember that the email that will receive the form information is Gmail. Follow my code…
-
0
votes0
answers267
viewsJSPDF create a pdf and attach to email
Hello I’m having trouble generating an email with an attachment. The attachment is a PDF file generated by the JSPDF library. First I started by generating the pdf and calling the php script through…
-
0
votes1
answer179
viewsproblem with hidden copy in phpmailer
Guys I’m trying to send several emails with phpmailer, my recipients are receiving them, but to avoid them seeing to whom else I sent the emails, I used the following function:…
-
0
votes0
answers88
viewsPHP Mailer + Mysql
Hello, I have a page to fix that performs 2 functions from the completion of a form: 1-sends form information to Mysql database - working ok 2 confirmation e_mail with the data filled in the form.…
-
0
votes1
answer81
viewsProblem Form - I think they put a BOT
I’m getting every 5 in 5 minutes 1 email coming from my form with the information in numbers looking like a type of BOT. I am using PHP MAILER <?php session_start(); ob_start(); $nome =…
-
0
votes1
answer187
viewsnot sending form via phpmailer
My problem is this, I have a form on a page html and would like it to be sent by e-mail, I did some research and decided to use the phpmailer, but when I click the send button nothing happens, it is…
-
0
votes1
answer133
viewsForm error, Page loading failed
When I press SEND, Submit sends to the /contact.php but on the page appears: The door.com.br page is not working door.com.br cannot process this request at this time. HTTP ERROR 500 <form…
-
0
votes1
answer35
viewsUsing Form Email in Addadress
I have a problem sending email with AddAdress in my file php that is receiving the form data html. I’ve tried everything here but it doesn’t work ='( Detailing the situation: I receive the address…
-
0
votes3
answers496
views -
0
votes1
answer66
viewsemail sending error with phpmailer
Guys I’m trying to send an email to several people inside an array called $destinatario. For this I created a function called envia_email. But I’m having the following mistake: Fatal error: Call to…
-
0
votes0
answers100
viewsPhpmailer_5.2.4 with GMAIL
I’ve seen several topics and sites talking about phpmailer sending direct to GMAIL, however I can’t do, the following error appears: SMTP -> ERROR: Failed to connect to server: Connection timed…
-
0
votes1
answer92
viewsHelp with PHP email form
I have a problem with a website that is one page, and before I had this php: <?php if (isset($_POST["submit"])) { $name = $_POST['name']; $email = $_POST['email']; $message = $_POST['message'];…
-
0
votes1
answer62
viewsGet Dominio for an unfinished website
Good people, I’m building a website and I needed to get a domain address for the contact page, more like emails. The problem is this, I am using phpmailer and I want the user to be able to…
-
0
votes0
answers125
viewsPhpmailer error while sending
Opa, I am using a function to send mail with phpmailer, follows function function SendMail($acessa_arquivo, $email_destinatario, $nome_destinatario, $assunto, $mensagem, $link) {…
-
0
votes0
answers662
viewsCreate an Image embedded in the body of the email message
Good morning to all. I created an email marketing to send to my contacts with year-end layout. Finally, I noticed the way I send the image in html: <img…
-
0
votes1
answer716
views500 error when using Phpmailer
I’m trying to use Phpmailer to send emails but it doesn’t work. It gives me error 500! I use Hostinger.com to host my website. Here is the code: $email = new PHPMailer(true); //Using SMTP…
-
0
votes2
answers2565
viewsError: You must provide at least one recipient email address
Colleagues. I have a website where there are 02 forms. One for the traditional Contact Us and the other for resume submission. I am using Phpmailer. In Contact Us is working correctly, but in the…
-
0
votes1
answer74
viewsI click on Ubmit to send email and he plays me on page 404.php
What happens to you: When I click on the "Send" email button, it throws me to 404.php screen, not entering my function send_contact_form, which is inside Function.php. This function is the one that…
-
0
votes0
answers86
viewsFromname receiving "1" when sending the email
I configured Phpmailer to send contact form and everything worked out except the Fromname that arrives in the email always with the number 1. Would anyone know what’s going on? Name: $name E-mail:…
-
0
votes1
answer87
viewsSend e-mail with specific content of each line returned from mysql
I need to send an email warning the user that your request is expired, I go to the bank and search all records in this condition, the problem is that the body of the email has to be the content of…
-
0
votes1
answer175
viewsSending email using phpmailer
I am trying to send an email with several variables passed via post. I cannot send the content of the email with all variables. What would be the correct syntax? Below is the code: $name =…
-
0
votes1
answer94
viewsDoes disabled PHP Mail() function impact SMTP?
I am facing problems with Phpmailer, the class version is the 5.1, that is generating the following error: Could not instantiate mail function error that corresponds to an instance problem. Checking…
-
0
votes1
answer45
viewsE-mail using the Phpmailer class
I got the following form on my page index.php : <form id="form-contato" method="post" action="email.php"> <div> <div class="row"> <div class="6u 12u(mobile)"> <input…
-
0
votes0
answers120
viewsSend email as Framework Codeigniter?
I have the following code on functions, but I’m having trouble knowing where I put the e-mail who will receive the registration. Follow the code: <?php require_once('../config.php');…
-
0
votes1
answer228
viewsSend link by Phpmailer
I am trying to send an email confirmation of registration to a client using the Phpmailer. It turns out that the message is printed as below: <strong>Você foi cadastrado no sistema de…
-
0
votes2
answers380
viewsEvent.preventDefault() conflicting on Contact Form
I have a contact form using Phpmailer which in one project worked perfectly. All return messages were done using CSS only, without Javascript. But now, in this new project, I want to use JS to make…
-
0
votes1
answer874
viewsConnection failed in phpmailer
Follow the code friends: <?php header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE"); header("Access-Control-Allow-Headers: X-API-KEY,…