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

I am getting SMTP connect Fail Error #5

Closed
mahadevan opened this issue Oct 12, 2022 · 11 comments
Closed

I am getting SMTP connect Fail Error #5

mahadevan opened this issue Oct 12, 2022 · 11 comments

Comments

@mahadevan
Copy link

mahadevan commented Oct 12, 2022

12-10 Wednesday 01

I have PHP 8 installed.

I am getting an "SMTP Connect Fail Error". I am using port 587. Gmail as SMTP Provider ("smtp.gmail.com")

nb: I have XAMPP installed. Is it necessary to install PHPmailer separately for this plugin to work?

@mahadevan
Copy link
Author

While using port 465

image

@SimeonLukas
Copy link
Owner

SimeonLukas commented Oct 17, 2022

Hi mahadevan,

I'm sorry for this problem.
This is an Issue for PHP-Mailer.

Do have Two-Factor-Auth enabled and an extra APP-Password created with the Google-UI?
Google-Apppassword

Issue PHP-Mailer

Greetings,
Simeon

@SimeonLukas
Copy link
Owner

Is your Problem fixed?
Greetings,
Simeon

@mahadevan
Copy link
Author

Is your Problem fixed? Greetings, Simeon

Nope, I just tried again.

image

27-10 Thursday 01

What are the prerequisites? I have windows 11, PHP installed.

27-10 Thursday 02

Do I need to install anything else? I am able to push files to kindle via chrome extension & caliber.

@SimeonLukas
Copy link
Owner

Ok does it work with this Backendaddress?
https://staneks.de/apps/md2mobi/

Greetings,
Simeon

@mahadevan
Copy link
Author

I use "https://staneks.de/apps/md2mobi/" on the settings

image

It doesn't work. Also, Kindle has stopped support for mobi format & azw3 & epub works. But I don't think it was the problem as in the such case I would receive an email from kindle that it couldn't send files to my Kindle device. I didn't any such mail.

@mahadevan
Copy link
Author

Also "https://staneks.de/apps/md2mobi/" gives this

28-10 Friday 03

@SimeonLukas
Copy link
Owner

Yeah the Warnings are just normal, when you open the Address in the Browser. I'm going to change this in the future.

There is still a problem with your credentials. Do you have an extra App-Password for your Google account?

Greetings

@Mamonbo
Copy link

Mamonbo commented Oct 29, 2022

I got the same authentication error too.
So I read this issue and created an App-Password and changed this plugin settings as follows:
SMTP Port : 465 (SSL port not TLS / STARTTLS port in Gmail)
SMTP Password : App-Password

Then it worked.

I don't know this is the best soluttion regarding security though.

@mahadevan
Copy link
Author

Yeah the Warnings are just normal, when you open the Address in the Browser. I'm going to change this in the future.

There is still a problem with your credentials. Do you have an extra App-Password for your Google account?

Greetings
@SimeonLukas Solved.
I used a different Gmail ID & App Password. Changed the socket to 465. It solved the issue. Thanks for the help.

@SimeonLukas
Copy link
Owner

Great 👍

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

3 participants