Comments (3)
Hello,
It seems to be a SMTP authentication error, are you sure you have the correct smtp username / password?
You can try to pass $mail-> SMTPDebug = SMTP :: DEBUG_SERVER;
instead of $mail->SMTPDebug = SMTP :: DEBUG_OFF;
in AjaxForm.php for a better debug.
[EDIT]
You use the port 25, so you don't need ssl.
Try to remove $mail->SMTPSecure = self::SMTP_SECURE;
Take a look in PHPMailer examples for more info https://github.com/PHPMailer/PHPMailer/tree/master/examples
from contact-form-php.
@raspgot Hello, I solved my problem. The form falls on my mail address. No problem here. There is another point I want to ask. The main problem is that the copy of the information that the user fills in the form goes to the mail address of the user. I want to see a thank you message at the top as well as this information that falls on the users' email address. Where and how can I do this?
from contact-form-php.
Hello @satiroglumustafa,
This repo doesn't send thanks email to the user, just an ajax bootstrap toast is displayed in the top left corner.
If you want to remove the mail deliver to the user's email address replace this line $mail->addAddress($email, $name);
with $mail->addAddress('[email protected], 'myName);
in AjaxForm.php
✌️
from contact-form-php.
Related Issues (14)
- timeout-or-duplicatehostname-mismatch HOT 5
- Contact form not submitting HOT 11
- Adding checkboxes? HOT 4
- Uncaught ReferenceError: e is not defined HOT 3
- SyntaxError: JSON.parse HOT 1
- Admin popup with error connection-failedhostname-mismatch HOT 3
- SyntaxError Json line 59 HOT 1
- Error: HOSTNAME_MISMATCH HOT 12
- Missing Input Response HOT 5
- Not working. Demo not working HOT 2
- Checkboxes HOT 1
- Uncaught ReferenceError: angular is not defined HOT 9
- error when cookie is rejected HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contact-form-php.