-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use PHP-Contact-form on my website #2
Comments
Hello, if it's correct, I will help you again. Please don't hesitate to ask any question. Regards Mehmet KOÇAK 2016-02-22 10:21 GMT+01:00 ARIHANT-GRAPHICS [email protected]:
|
Hello Sir, |
I am facing problem in index.php (provide by you) also. please check it... and provide a sollution. |
Could you send your files by email? [email protected] Mehmet KOÇAK 2016-02-23 16:29 GMT+01:00 ARIHANT-GRAPHICS [email protected]:
|
Sir, I have tried to send you mail but it bounce with the massage Technical details of permanent failure: ----- Original message ----- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; Have you any other mail id ? |
Ok, No Problem - I have sent the zipped file with google drive attachment. |
Hello Dear,
I created a website and unable to send mails to me from my contact page.
is this plugins work on personal website created in Dreamweaver CC?
I have tried it and facing problem which I am unable to find.
Here is my link which I have created in HTML
http://arihantgraphics.com/index_test.html
I have also tried by uploading files provided by you directly (Only send.php file is configured)
here is the link
http://arihantgraphics.com/index.php
I have made these changes in send.php file...
`<?php
session_start();
if ( isset($_POST['guvenlikKodu']) && $_POST['guvenlikKodu'] ){
$guvenlikKontrol = false;
if ( $_POST['guvenlikKodu'] == $_SESSION['guvenlikKodu'] ){
$guvenlikKontrol = true;
}
if ( $guvenlikKontrol ){
$text=$_POST['text'];
$name=$_POST['name'];
$phone=$_POST['phone'];
$email=$_POST['email'];
$subject=$_POST['subject'];
$web=$_POST['web'];
$domain=$_SERVER['HTTP_HOST'];
$ipadress=$_SERVER['REMOTE_ADDR'];
$date = date("d.m.Y");
$time = date("H:i:s");
require("class.phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = "smtp.gmail.com"; // SMTP servers
$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = "[email protected]"; // SMTP username
$mail->Password = "XXXXXX"; // SMTP password
$mail->From = "[email protected]"; // it must be a match with SMTP username
$mail->Fromname = "ARIHANT GRAPHICS"; // from name
$mail->AddAddress("[email protected]","ARIHANT GRAPHICS"); // SMTP username , Name Surname
$mail->Subject = $_POST['subject'];
$content = "
You have a message by $domain
Name:$name
E-Mail:$email
Phone:$phone
Subject:$subject
Website: $web
Message:$text
Date: $date . $time
IP Adress of User: $ipadress
This message was sent using SMTP-PHP-Contact-Form by kocakmhmt
";$mail->MsgHTML($content);
if(!$mail->Send())
{
echo "Error! Its wrong!";
echo "Mailer Error: " . $mail->ErrorInfo;
echo "";
exit;
}
echo "Thank you! Your message has reached us! ";
} else {
echo "Please check Security Code! ";
}
}
?>`
I am unable to find whats wrong with this?
Can you please guide me in this....
Thanks !
The text was updated successfully, but these errors were encountered: