Sample of Ktor Server and Jakarta Mail implementation to send an email to user
You must set up the email password first. The email password here is different from the password used on the email you use. Instruction for the set up are found at the following link https://stackoverflow.com/a/72592946
KEY | VALUE | EXAMPLE |
---|---|---|
EMAIL_ADDRESS | YOUR EMAIL ADDRESS | [email protected] |
EMAIL_PASSWORD | YOUR EMAIL PASSWORD | xxxx xxxx xxxx xxxx |
EMAIL_NAME | YOUR NAME | Heru |