Giter VIP home page Giter VIP logo

Comments (3)

raspgot avatar raspgot commented on August 24, 2024

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.

satiroglumustafa avatar satiroglumustafa commented on August 24, 2024

@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.

raspgot avatar raspgot commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.