Home › Forums › Porto – Responsive HTML5 Template › Not receiving emails from contact form
- This topic has 8 replies, 2 voices, and was last updated 10 years, 5 months ago by
ronstone. This post has been viewed 1585 times
-
AuthorPosts
-
December 4, 2014 at 12:26 pm #10005422
ronstone
ParticipantHello..
I have reviewed a lot of the php support posts and am stuck. The contact form shows “Success! Your message has been sent to us.”, but I dont receive the email. I have followed all the steps at http://www.okler.net/forums/topic/important-contact-form-is-not-working/. Version 3.4.1. Any ideas?
thanks
December 4, 2014 at 12:29 pm #10005423ronstone
ParticipantI have set these parameters:
$mail->Host = ‘smtp.di
$mail->SMTPAuth = true
$mail->Username = ‘ron
$mail->Password = ‘lqb
//$mail->SMTPSecure =
December 4, 2014 at 12:41 pm #10005424ronstone
ParticipantI have disabled the form fields in http://toptier.com/contact-us.html until this is resolved. You can view the source code.
December 5, 2014 at 8:18 am #10005438Support
KeymasterHello, my suggestion is to try the contact-us-advanced.php file that comes with the template, and enable the debug, so you will be able to see exactly what is the problem.
Most of the times it’s something with the server, some host providers requires a few different settings, please confirm with your server administrator which are the correct settings (ssl/host/etc…).
Kind Regards,
Jonas
December 5, 2014 at 12:13 pm #10005450ronstone
ParticipantJonas.. Do I need to overwrite contact-form.php with the code from contact-us-advanced.php?
thanks
December 5, 2014 at 12:18 pm #10005451Support
KeymasterHi, to make the tests you can just put the file in the server and make the tests, then access it going to the url: yoursite.com/contact-us-advanced.php
December 5, 2014 at 1:10 pm #10005452ronstone
ParticipantI was able to receive mail, though only if the form email address had the same domain as the server smtp account. This applies to both contact-form.php and contact-us-advanced.php. Form always indicates “Success! Your message has been sent to us.”, but only submissions from email address with server domain (directsun.com) are received. version 3.5.0
// Step 1 – Enter your email address below.
$to = ‘[email protected]’;// Step 2 – Enable if the server requires SMTP authentication. (true/false)
$enablePHPMailer = true;$mail->Host = ‘smtp.directsun.com’;
$mail->SMTPAuth = true;
$mail->Username = ‘[email protected]’;
$mail->Password = ‘xxxxxxx’;
//$mail->SMTPSecure = ‘tls’;2014-12-05 15:44:13 CLIENT -> SERVER: EHLO toptier.com 2014-12-05 15:44:13 CLIENT -> SERVER: AUTH LOGIN 2014-12-05 15:44:13 CLIENT -> SERVER: cm9uLnN0b25lQGRpcmVjdHN1bi5jb20= 2014-12-05 15:44:13 CLIENT -> SERVER: bHFiSjY1NFk= 2014-12-05 15:44:13 CLIENT -> SERVER: MAIL FROM: 2014-12-05 15:44:13 CLIENT -> SERVER: RCPT TO: 2014-12-05 15:44:13 CLIENT -> SERVER: DATA 2014-12-05 15:44:18 CLIENT -> SERVER: Date: Fri, 5 Dec 2014 10:44:13 -0500 2014-12-05 15:44:18 CLIENT -> SERVER: To: [email protected] 2014-12-05 15:44:18 CLIENT -> SERVER: From: ronnie 2014-12-05 15:44:18 CLIENT -> SERVER: Reply-To: ronnie 2014-12-05 15:44:18 CLIENT -> SERVER: Subject: Option 4 2014-12-05 15:44:18 CLIENT -> SERVER: Message-ID: <[email protected]> 2014-12-05 15:44:18 CLIENT -> SERVER: X-Priority: 3 2014-12-05 15:44:18 CLIENT -> SERVER: X-Mailer: PHPMailer 5.2.9 (https://github.com/PHPMailer/PHPMailer/) 2014-12-05 15:44:18 CLIENT -> SERVER: MIME-Version: 1.0 2014-12-05 15:44:18 CLIENT -> SERVER: Content-Type: text/html; charset=UTF-8 2014-12-05 15:44:18 CLIENT -> SERVER: Content-Transfer-Encoding: 8bit 2014-12-05 15:44:18 CLIENT -> SERVER: 2014-12-05 15:44:18 CLIENT -> SERVER: Name: ronnie
2014-12-05 15:44:18 CLIENT -> SERVER: Email address: [email protected]
2014-12-05 15:44:18 CLIENT -> SERVER: Message: sdf
2014-12-05 15:44:18 CLIENT -> SERVER: Checkboxes: option2
2014-12-05 15:44:18 CLIENT -> SERVER: Radios: option2
2014-12-05 15:44:18 CLIENT -> SERVER: 2014-12-05 15:44:18 CLIENT -> SERVER: . 2014-12-05 15:44:18 CLIENT -> SERVER: QUIT
December 5, 2014 at 1:24 pm #10005453Support
KeymasterHello, ok, thanks for the information.
Please try to force your email address (same domain) right there:
December 5, 2014 at 1:58 pm #10005454ronstone
ParticipantThat was it. All is good.
thanks
-
AuthorPosts
This topic is marked as "RESOLVED" and can not rceive new replies.