Questions tagged [PHPMailer] (99)

0
answer

How to send a picture to the form using php mailer in full format(not just the file name)to the specified mail?

Learn to use php in General, and at this stage studying phpmailer. At the moment I managed to implement sending data from the form as text to specified mail. But when you add a input type file and it is a photo, sending a file to mail I get the file name. How to make what would be seen the photo in General? <?php requ...
johathan_Cartwrigh asked April 19th 20 at 12:15
1
answer

Message is not sent in the mail ,what could be the problem?

The data itself is sent to the php handler , where the error can't find <form method="POST" id="callback" class="callback-form forms" enctype="multipart/form-data"> <input id="callback_phone" type="tel" placeholder="+7" name="phone"> <input id="callback_name" type="text" placeholder="Enter Your name" name="n...
Mara asked April 16th 20 at 10:15
2
answers

How to connect PHPMailer?

Looked to connect to the Internet , but there is an older version , so it is not suitable . Downloaded from here - https://github.com/PHPMailer/PHPMailer In the folder \libs library PHPMailer-master index.php <?php use PHPMailer\PHPMailer\PHPMailer; $from = "???@mail.ru"; $mail = new PHPMailer(); $mail->IsSMT...
Mercedes66 asked April 9th 20 at 10:29
1
answer

Want to make the redirect to the thank you page What's wrong in my JS?

Want to do a redirect to a thank you page That is not in my JS So working with the text output to the screen, "Message sent successfully" // Send data to the server $('#form').trigger('reset'); $(function() { 'use strict'; $('#form').on('submit', function(e) { $('.msg').removeClass('error success'); $('input').removeCla...
Cary_Wal asked April 8th 20 at 02:31
1
answer

How to connect the library phpmailer in wordpress?

I can not understand is: Is the library phpmailer tried to do so: var data = { action : 'not_found_form', found_form : sendForm } $.ajax({ type: "POST", url: not_found_404.ajax_url, data: data, success: function(data) { console.log(data); }, error: function(xhr){ } }); In function.php function scripts() { if...
Aurelio_Miller asked April 8th 20 at 02:20
1
answer

Why not send emails to mail phpmailer?

When submitting the form, the console displays an error 500 const request = new XMLHttpRequest(); var form = document.getElementById('form_underHead'); form.querySelector('.btn').addEventListener('click', (e)=>{ e.preventDefault(); let data = new FormData(document.getElementById('form_underHead')); request.open("POST",'...
Gudrun.Koelpin18 asked April 7th 20 at 11:51
1
answer

How to make auto data collection from all fields of the form in mail.php and send via phpmailer?

There are 2 forms that have different number of fields but have same name input. Sending is implemented via a script and using phpmailer: $(document).ready(function() { //E-mail Ajax Send $("form").submit(function a() { //Change var th = $(this); $.ajax({ type: "POST", url: "core/components/mail.php", //Change ...
Josianne8 asked April 7th 20 at 11:15
1
answer

How to send email using PHPMailer?

There is a google mail. To send a message using PHPMailer. Everything is OK, email is sent, the layout beautiful, the sender - everything is fine. However, there is a problem, client-side visible sign of the letter:"The sender is confirmed. However, the email came from the domain *domainname*.ru, which does not match the ...
oleta_Abernathy10 asked April 4th 20 at 12:29
2
answers

PHP PHPMailer DKIM signature and encoding. Does not pass signature verification, in what could be the reason?

Emails are sent, everything comes. Using PHPMailer to sendmail. PHPMailer for signature only. The problem is actually in the DKIM signature If the body of the message Body at least one Cyrillic symbol, the signature verification fails. If just letters, then everything is OK, signature is good. No this problem is not encount...
neoma73 asked April 3rd 20 at 23:44
1
answer

How to put PHPMAILER in Wordpress?

On LAN script works (without EAP), started to migrate to the site gives an error, and the debug gave it (Ports changed) 2019-12-13 16:24:21 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP t27sm5175832ljd.26 - gsmtp 2019-12-13 16:24:21 CLIENT -> SERVER: EHLO a0368236.xsph.ru 2019-12-13 16:24:21 SERVER -> CLIENT: 250-smtp...
Eduardo.Hudson61 asked April 3rd 20 at 17:51