horilla-opensource / horilla

Horilla is a free and open source HR software.
https://www.horilla.com/
GNU Lesser General Public License v2.1
187 stars 130 forks source link

Mail server configuration is not working #334

Open naveen12 opened 1 month ago

naveen12 commented 1 month ago

horilla_log.txt

Mail server configuration is not working

i have installed horilla with docker and followed the blogs, created app password from gmail and configured in mail server but its not working

everytime getting error like " smtplib.smtpauthenticationerror: (535, b'5.7.8 username and password not accepted."

Steps to Reproduce

  1. via docker composer installed and used default credentials and tried to configure mail server
  2. Seting icon --> General --> Mail server --> create new one

Expected Behavior

test mail should work without any error.

Actual Behavior

it showing error message like "smtplib.smtpauthenticationerror: (535, b'5.7.8 username and password not accepted."

Screenshots

Environment

latest 1.2.0 version from there docker composer through installed the horilla

Additional Information

please find the attached log file

Possible Solution

[If you have any ideas or suggestions on how to fix the issue, feel free to provide them here. This is optional.]

Labels

[If your project uses labels, suggest any labels that might apply to this issue, such as 'bug', 'needs investigation', etc.]

Priority

'high'

Assignees

_[If you want to suggest an assignee or tag a specific person to look into this issue, mention horilla_log.txt

Related Issues

[If there are any related issues or pull requests, mention them here. This is optional.]

Note: Remember to search through existing issues before submitting a new one to ensure that the issue hasn't been reported already. Provide as much information as possible to help the maintainers understand and address the problem effectively.

naveen12 commented 1 month ago

i have followed this blog https://www.horilla.com/blogs/how-to-set-up-mail-server-in-horilla-hrms/

horilla-opensource commented 1 month ago

Hi @naveen12 , Can you make sure that there is no extra white spacing in the password field?

naveen12 commented 1 month ago

No, there is no extra space

On Wed, 11 Sep, 2024, 10:23 am Horilla, @.***> wrote:

Hi @naveen12 https://github.com/naveen12 , Can you make sure that there is no extra white spacing in the password field?

— Reply to this email directly, view it on GitHub https://github.com/horilla-opensource/horilla/issues/334#issuecomment-2342619299, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABH6DSLHMS626WN457WMZH3ZV7EFPAVCNFSM6AAAAABN6YXHSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBSGYYTSMRZHE . You are receiving this because you were mentioned.Message ID: @.***>

horilla-opensource commented 1 month ago

We have tested the same from our end and were successfully connected. Can you confirm whether Less Secure Apps is enabled for the gmail account?

naveen12 commented 1 month ago

i have created app password but i didn't see the *Less Secure *Apps do i need to enable it ? where it available ?

On Wed, Sep 11, 2024 at 2:30 PM Horilla @.***> wrote:

We have tested the same from our end and were successfully connected. Can you confirm whether Less Secure Apps is enabled for the gmail account?

— Reply to this email directly, view it on GitHub https://github.com/horilla-opensource/horilla/issues/334#issuecomment-2343059960, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABH6DSJT3NAMDQ3PR5ULBZLZWABDVAVCNFSM6AAAAABN6YXHSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBTGA2TSOJWGA . You are receiving this because you were mentioned.Message ID: @.***>

horilla-opensource commented 1 month ago

https://support.google.com/a/answer/6260879?hl=en

naveen12 commented 1 month ago

As per suggestion enabled Less Secure Apps but again getting the same error

Please help

On Wed, Sep 11, 2024 at 3:36 PM Horilla @.***> wrote:

https://support.google.com/a/answer/6260879?hl=en

— Reply to this email directly, view it on GitHub https://github.com/horilla-opensource/horilla/issues/334#issuecomment-2343203862, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABH6DSI464DLPQWJPESRQY3ZWAIYRAVCNFSM6AAAAABN6YXHSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBTGIYDGOBWGI . You are receiving this because you were mentioned.Message ID: @.***>

horilla-opensource commented 1 month ago

Hi @naveen12 , Can you connect with the team at support@horilla.com (either through email or on skype) ?

With Regards, Team Horilla

naveen12 commented 1 month ago

Thank you, I have sent mail to the support team.

On Wed, Sep 11, 2024 at 6:44 PM Horilla @.***> wrote:

Hi @naveen12 https://github.com/naveen12 , Can you connect with the team at @.*** (either through email or on skype) ?

With Regards, Team Horilla

— Reply to this email directly, view it on GitHub https://github.com/horilla-opensource/horilla/issues/334#issuecomment-2343639964, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABH6DSO33BQKLH6LMUEXZVDZWA6ZVAVCNFSM6AAAAABN6YXHSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBTGYZTSOJWGQ . You are receiving this because you were mentioned.Message ID: @.***>

abhishek96negi commented 1 week ago

@naveen12 Have you got any solution?

abhishek96negi commented 1 week ago

@naveen12 https://www.horilla.com/docs/email-configuration/