magefree / magefree/mage

Server: add support of SSL/TLS email providers like gmail

Open
#6,111 0 comments 0 reactions 0 assignees View on GitHub
enhancement server
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Current xmage version do not support gmail service as email provider -- google requires to use TLS for SMTP.

Source code example for java mail:
https://www.mkyong.com/java/javamail-api-sending-email-via-gmail-smtp-example/

TODO:
* [ ] add TLS settings in server's config (mailUseTLS);
* [ ] add TSL support in send code;
* [ ] add wrong email settings processing in `MageServerImpl`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the server configuration, the email send code, and MageServerImpl mentioned in the issue. Check how current mail settings are loaded and errors are handled. Done means TLS can be configured for providers such as Gmail, sending uses that setting, and invalid email settings are processed without an unhandled failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.