Skip to content
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 do I integrate Google reCaptcha v2 into PHPMailer or vice versa? #2908

Closed
grasshaussoftware opened this issue May 21, 2023 · 2 comments
Closed

Comments

@grasshaussoftware
Copy link

seems like a simple request, yeah? can't find a single definitive answer online or on youtube. can we please get an example of how to integrate google recaptcha into phpmailer once and for all? thanks!

@Synchro
Copy link
Member

Synchro commented May 21, 2023

Recaptcha doesn't have anything to do with PHPMailer. You need to do whatever needs to be done for recaptcha, and then whatever else you want to do, which could include using PHPMailer, but is entirely unrelated. Example code:

if ($recaptcha_ok) {
    //do PHPMailer stuff
}

@Synchro Synchro closed this as completed May 21, 2023
@grasshaussoftware
Copy link
Author

grasshaussoftware commented May 22, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants