SMTP server port configuration #944
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#944
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some cloud vendors block port (25 and) 465.
For that issue, we can add a new environment variable: MAIL_PORT.
Then we add a new helper, based on https://docs.rs/lettre/0.9.6/src/lettre/smtp/mod.rs.html#133-144:
And then our code (https://git.joinplu.me/Plume/Plume/src/branch/main/src/mail.rs#L66) become:
But maybe this is more an issue of lettre than plume ?
Good investigation! Let's add the env var and modify Plume code.
@Marius Thank you for your investication. It helped me very well!