diff options
author | James Moger <james.moger@gitblit.com> | 2013-11-26 16:26:44 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-12-30 16:53:58 -0500 |
commit | afaab55bf4f309382b55793db44033233dcfb64d (patch) | |
tree | fa14a1a5558647bbfac3666eccfab7286ee07ef5 /src/main/java/com/gitblit/manager/INotificationManager.java | |
parent | 81c90eed7323c31c7e1134e2fb21aa7819d55a30 (diff) | |
download | gitblit-afaab55bf4f309382b55793db44033233dcfb64d.tar.gz gitblit-afaab55bf4f309382b55793db44033233dcfb64d.zip |
Support customizing the "from" display name for generated emails
Change-Id: Ibad9e2b1c12a24ad9c671a0d96aafb3365daa529
Diffstat (limited to 'src/main/java/com/gitblit/manager/INotificationManager.java')
-rw-r--r-- | src/main/java/com/gitblit/manager/INotificationManager.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/manager/INotificationManager.java b/src/main/java/com/gitblit/manager/INotificationManager.java index 29d8f549..ce5d3f71 100644 --- a/src/main/java/com/gitblit/manager/INotificationManager.java +++ b/src/main/java/com/gitblit/manager/INotificationManager.java @@ -63,4 +63,24 @@ public interface INotificationManager extends IManager { */ void sendHtmlMail(String subject, String message, String... toAddresses); + /** + * Notify users by email of something. + * + * @param from + * @param subject + * @param message + * @param toAddresses + */ + void sendHtmlMail(String from, String subject, String message, Collection<String> toAddresses); + + /** + * Notify users by email of something. + * + * @param from + * @param subject + * @param message + * @param toAddresses + */ + void sendHtmlMail(String from, String subject, String message, String... toAddresses); + }
\ No newline at end of file |