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

Cannot create imap connection #19

Open
eber22407 opened this issue Jan 29, 2022 · 1 comment
Open

Cannot create imap connection #19

eber22407 opened this issue Jan 29, 2022 · 1 comment

Comments

@eber22407
Copy link

hello, i have the following problem, i can't connect with smpt from google.
I am using the following configuration:

$bmh->mailhost = 'smtp.gmail.com';
$bmh->mailboxUserName = 'username'; without @gmail.com
$bmh->mailboxPassword = '*****';
$bmh->port = 465;
$bmh->service = 'imap';
$bmh->serviceOption = 'ssl/novalidate-cert';
$bmh->boxname = 'INBOX';

I'm using index.php

and I get the following error

Cannot create imap connection to smtp.gmail.com
Error MSG: [CLOSED] IMAP connection broken (server response)

if you can help me!! Thank you!!

@voku
Copy link
Owner

voku commented Jan 30, 2022

I never used Gmail here, maybe a Google problem? 🤔

https://freescout.medium.com/google-forces-developers-to-stop-using-php-imap-extension-ea935feb1770

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