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 to setup a SMPT provider (specially Gmail) #51

Closed
T0ny-dev opened this issue Jun 7, 2023 · 2 comments
Closed

How to setup a SMPT provider (specially Gmail) #51

T0ny-dev opened this issue Jun 7, 2023 · 2 comments

Comments

@T0ny-dev
Copy link

T0ny-dev commented Jun 7, 2023

estoy configurando la plataforma y utilice docker-compose para crear los contenedores, el detalle es que no he podido configurar exitosamente un provedor de SMTP siguiendo la guias de GMAIL, me gustaria si me pudieran compartir un ejemplo con https://www.wpoven.com/tools/free-smtp-server-for-testing de como se configura ya que no he podido avanzar de las configuracions para asignar admnistradores porque no llegan los correos para activar las cuentas. saludos :)

image

@MIGUELez11
Copy link
Member

MIGUELez11 commented Jun 8, 2023

Hola, debido a la importancia del issue, voy a responder en inglés, aún así, si luego tienes cualquier duda, te puedo seguir ayudando.

When using Google as your email provider, it's important to understand that Gmail has multiple layers of security in place. First and foremost, you need to determine whether or not you have two-step authentication (2FA) enabled. Depending on this configuration, the setup process will vary.

How can you check if 2FA is enabled?
You can follow this steps provided by Google . When you reach the step just before enabling it, you will be able to see whether it was already activated or not.

If you have 2FA enabled:

Google itself states that there are different ways to use their services with third-party applications. The first method is OAuth (the 'Sign in with Google' button), and the other method is for applications that don't support signing in with Google (like the current case with Leemons). This method involves generating a unique password for the service called App passwords, and you can configure it following this Google's instructions.

To configure this password, I recommend selecting the mail service and then choosing 'Other' > entering a text that you will identify with your Leemons installation.

If you don't have 2FA enabled:

In this case, there shouldn't be a major issue apart from entering your account password. However, since this is very insecure, I recommend enabling 2FA and generating an App Password as described in the 'If you have 2FA enabled' section.

Edit: Once you have your username (email) and your password (preferably App Password), it's as easy as entering the configuration provided by Google in their documentation. Specifically, as of the response date of this thread, it would be the following:

  • Security: SSL/TLS
  • Port: 465
  • Host: smtp.gmail.com

@MIGUELez11 MIGUELez11 changed the title Configurar provedor SMTP How to setup a SMPT provider (specially Gmail) Jun 8, 2023
@T0ny-dev
Copy link
Author

T0ny-dev commented Jun 8, 2023

Thank you very much, the problem is fixed, that way my mistake is that I didn't turn on the security switch and generate a new password app in google account.

Gracias problema resuelto, no había activado el switch de seguridad y pese ya tener generado una contraseña, generar una nueva lo soluciono.

@T0ny-dev T0ny-dev closed this as completed Jun 8, 2023
@MIGUELez11 MIGUELez11 pinned this issue Jun 9, 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