Open ARIHANT-GRAPHICS opened 8 years ago
Hello, Thank you for message, first I'd like to know what's your mail server? You have to change this > $mail->Host = "smtp.gmail.com http://smtp.gmail.com/"; // SMTP servers ' gmail or not? '
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 notifications@github.com:
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 = "do_not_reply@arihantgraphics.com"; // SMTP username $mail->Password = "XXXXXX"; // SMTP password $mail->From = "do_not_reply@arihantgraphics.com"; // it must be a match with SMTP username $mail->Fromname = "ARIHANT GRAPHICS"; // from name $mail->AddAddress("do_not_reply@arihantgraphics.com","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 !
— Reply to this email directly or view it on GitHub https://github.com/kocakmhmt/SMTP-PHP-Contact-Form/issues/2.
Hello Sir,
My mail server is "Gmail" and as per your instruction I have made the changes as under...
$mail->Host = "smtp.gmail.com <http://smtp.gmail.com/>"; // SMTP servers
But it still does not work...
Can you please check the problem again and guide me for my fault?
Thanks !
I am facing problem in index.php (provide by you) also. http://arihantgraphics.com/index.php and my site also... http://arihantgraphics.com/index_test.html
please check it... and provide a sollution. Thanks !
Could you send your files by email? mehmet@kocakmhmt.com
Mehmet KOÇAK
2016-02-23 16:29 GMT+01:00 ARIHANT-GRAPHICS notifications@github.com:
I am facing problem in index.php (provide by you) also. http://arihantgraphics.com/index.php and my site also... http://arihantgraphics.com/index_test.html
please check it... and provide a sollution. Thanks !
— Reply to this email directly or view it on GitHub https://github.com/kocakmhmt/SMTP-PHP-Contact-Form/issues/2#issuecomment-187743274 .
Sir, I have tried to send you mail but it bounce with the massage Delivery to the following recipient failed permanently:
mehmet@kocakmhmt.com
Technical details of permanent failure: read error: generic::failed_precondition: read error (0): error
----- Original message -----
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arihantgraphics-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:content-type; bh=nhZXx8KIpYU5Nd8NTeY0oL45WYc6M7YbT8Cmcaio0R8=; b=qb3pIayxA+yPfvJfwz/IBh56yOpVUZ4q2gZhyjb2alvZPSbyvjXpdCmWHbu3KwanK8 SQ9atuRpBHJONlpc52lSow6vkg7eMeHG6eSw7nHDEzmyUM+pU4C1NTDH8mW8Xl3qzWEN AuQlh1mSOqUOHRqZC0+qC4lLDgK0tWEqOcY1rSd/0MqIthEkper5G7R6t95VtQd23IJj +mqv2Y+Q1nV16LdGs506i0jMviGjc8ycQ8CmHUnnDm0qPtazJ67jYYw2l7WBRSo4rFQt C8fLcvWRFFWdWKt9v4xI+w+mHnC3cHi9R510pOdV3hJ28gelfYJDUEvEt1wssAD3O2X2 P32g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=nhZXx8KIpYU5Nd8NTeY0oL45WYc6M7YbT8Cmcaio0R8=; b=ClRUrnAvuEF44rESGvoQkS+GNb4duwAOHks1iGTMb2XlZdLMKVTkncs2eSic74+Uy5 AHNvumTOJLZwyRr7GENEOQ1wmDtwo7jeYlLxGsalPVWC2yBZ+/fd5m9JZ9zWvJN55r4f H3PDxtJHFkvq9PWsn5Ib8fZ948xWBzcpATTdk5/XfMMWm2FCxBMKZk2ZyDk9SeYDaDLW gVm04Z9h++C3jxXK1pvR2iuHiG3V4TXz5OIwd17N6VHMxCuwHWcYsVq8jyO0sGeZiY14 ZqHEU5ubqFNanj8mk4q7zM6Mrt+dl8of+cSWY3Q2n1CTExu/ql1g8YneMEKFOhl38RyR g1ww== X-Gm-Message-State: AG10YORg50Dj1ETTZiXhL6d7cbbruAaOD9IgTqE91/Nah6fXmFwhM5J5iOO5nqCcZk7U2ne4zf6Tro1/Dufy+g== X-Received: by 10.25.31.193 with SMTP id f184mr13955473lff.5.1456293058519; Tue, 23 Feb 2016 21:50:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.0.144 with HTTP; Tue, 23 Feb 2016 21:50:37 -0800 (PST) X-Originating-IP: [116.72.32.175] From: ARIHANT GRAPHICS arihant@arihantgraphics.com Date: Wed, 24 Feb 2016 11:20:37 +0530 Message-ID: CAC5evWTR9hephSDJJG9rwgK+en2EvhOOfBKYvywL1NNQUiHm+g@mail.gmail.com Subject: Websiteof arihantgraphics.com To: mehmet@kocakmhmt.com Content-Type: multipart/mixed; boundary=001a11403bf2729a4e052c7da6c4
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 = "do_not_reply@arihantgraphics.com"; // SMTP username $mail->Password = "XXXXXX"; // SMTP password $mail->From = "do_not_reply@arihantgraphics.com"; // it must be a match with SMTP username $mail->Fromname = "ARIHANT GRAPHICS"; // from name $mail->AddAddress("do_not_reply@arihantgraphics.com","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 "I am unable to find whats wrong with this? Can you please guide me in this.... Thanks !