Last active
May 13, 2020 11:59
-
-
Save Ikhiloya/dd31212973d906048425ee96862b5b67 to your computer and use it in GitHub Desktop.
An interface that hols the different methods for sending emails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface MailStrategy { | |
| @Async | |
| void sendActivationEmail(User user); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment