[GH-ISSUE #465] "Authentication credentias invalid" Settings for login/pass enviroment variables. #302

Closed
opened 2026-03-15 13:47:07 +03:00 by kerem · 1 comment
Owner

Originally created by @Rudnik-Ilia on GitHub (Mar 13, 2025).
Original GitHub issue: https://github.com/axllent/mailpit/issues/465

Hi, I'm using Mailpit in a container. While trying to send an email with authentication, I receive the error "Authentication credentials invalid" with any combination of login and password.

Could you please provide an example of the correct environment variables or the proper format to specify the login and password? Also, are there any extra variables I should set?

I want to use PLAIN authentication with SMTP.(force_ensecure=True)

Originally created by @Rudnik-Ilia on GitHub (Mar 13, 2025). Original GitHub issue: https://github.com/axllent/mailpit/issues/465 Hi, I'm using Mailpit in a container. While trying to send an email with authentication, I receive the error "Authentication credentials invalid" with any combination of login and password. Could you please provide an example of the correct environment variables or the proper format to specify the login and password? Also, are there any extra variables I should set? I want to use PLAIN authentication with SMTP.(force_ensecure=True)
kerem closed this issue 2026-03-15 13:47:13 +03:00
Author
Owner

@Rudnik-Ilia commented on GitHub (Mar 13, 2025):

Solved

<!-- gh-comment-id:2721508016 --> @Rudnik-Ilia commented on GitHub (Mar 13, 2025): Solved
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#302
No description provided.