summaryrefslogtreecommitdiff
path: root/app/mailers
diff options
context:
space:
mode:
authorStuart Nelson <stuartnelson3@gmail.com>2018-02-06 19:09:59 +0100
committerSean McGivern <sean@gitlab.com>2018-03-26 08:10:19 +0100
commit5f39f9b30853291ec83df2383cd2e7863b72fb27 (patch)
treeba59e062a442f0e796a25d176a6774efd1983cde /app/mailers
parentbebced8fc9039c5e8a3774af183a8dd9c244f297 (diff)
downloadgitlab-ce-5f39f9b30853291ec83df2383cd2e7863b72fb27.tar.gz
Send email to recipients
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/emails/issues.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/mailers/emails/issues.rb b/app/mailers/emails/issues.rb
index b33131becd3..392cc0bee03 100644
--- a/app/mailers/emails/issues.rb
+++ b/app/mailers/emails/issues.rb
@@ -6,6 +6,12 @@ module Emails
mail_new_thread(@issue, issue_thread_options(@issue.author_id, recipient_id, reason))
end
+ def issue_due_email(recipient_id, issue_id, reason = nil)
+ setup_issue_mail(issue_id, recipient_id)
+
+ mail_new_thread(@issue, issue_thread_options(@issue.author_id, recipient_id, reason))
+ end
+
def new_mention_in_issue_email(recipient_id, issue_id, updated_by_user_id, reason = nil)
setup_issue_mail(issue_id, recipient_id)
mail_answer_thread(@issue, issue_thread_options(updated_by_user_id, recipient_id, reason))