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

Email sending issue #2853

Closed
bishojit opened this issue Jan 4, 2023 · 1 comment
Closed

Email sending issue #2853

bishojit opened this issue Jan 4, 2023 · 1 comment

Comments

@bishojit
Copy link

bishojit commented Jan 4, 2023

The email was sent from the local computer but with the same username & password mail not set through the cPanel server.

2023-01-04 09:01:32 Connection: opening to ssl:https://smtp.gmail.com:465, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),)
2023-01-04 09:01:33 Connection: opened
2023-01-04 09:01:33 SERVER -> CLIENT: 220-server-9.bikiran.net ESMTP Exim 4.95 #2 Wed, 04 Jan 2023 09:01:33 +0000 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
2023-01-04 09:01:33 CLIENT -> SERVER: EHLO app.bikiran.com
2023-01-04 09:01:33 SERVER -> CLIENT: 250-server-9.bikiran.net Hello app.bikiran.com [51.79.228.121]250-SIZE 52428800250-8BITMIME250-PIPELINING250-PIPE_CONNECT250-AUTH PLAIN LOGIN250 HELP
2023-01-04 09:01:33 CLIENT -> SERVER: AUTH LOGIN
2023-01-04 09:01:33 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2023-01-04 09:01:33 CLIENT -> SERVER: [credentials hidden]
2023-01-04 09:01:33 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2023-01-04 09:01:33 CLIENT -> SERVER: [credentials hidden]
2023-01-04 09:01:35 SERVER -> CLIENT: 535 Incorrect authentication data
2023-01-04 09:01:35 SMTP ERROR: Password command failed: 535 Incorrect authentication data
SMTP Error: Could not authenticate.
2023-01-04 09:01:35 CLIENT -> SERVER: QUIT
2023-01-04 09:01:35 SERVER -> CLIENT: 221 server-9.bikiran.net closing connection
2023-01-04 09:01:35 Connection: closed
SMTP Error: Could not authenticate.
Message could not be sent. Mailer Error: SMTP Error: Could not authenticate.

@Synchro
Copy link
Member

Synchro commented Jan 4, 2023

You're seeing exactly the problem described in the troubleshooting guide under firewall redirection – you're asking to connect to smtp.gmail.com, but are actually connecting to server-9.bikiran.net. The reason you're even getting that far is that you've disabled certificate verification, also against the advice given in the guide, as it allows third parties to tamper with your connection, which is exactly what is happening to you.

Meanwhile, you have revealed your gmail account password to your hosting provider, so you probably want to change your password.

@Synchro Synchro closed this as completed Jan 4, 2023
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