This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch dw/8460
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/dw/8460 by this push:
     new 99fccd807 fixup! fixup! [#8460] add new email @task which sends an 
already formatted email content
99fccd807 is described below

commit 99fccd807aba744d9c49634de08a254fe31eeb80
Author: Dillon Walls <[email protected]>
AuthorDate: Wed Sep 7 16:08:29 2022 +0000

    fixup! fixup! [#8460] add new email @task which sends an already formatted 
email content
---
 Allura/allura/tasks/mail_tasks.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/Allura/allura/tasks/mail_tasks.py 
b/Allura/allura/tasks/mail_tasks.py
index 0a8de3f8c..541f47184 100644
--- a/Allura/allura/tasks/mail_tasks.py
+++ b/Allura/allura/tasks/mail_tasks.py
@@ -246,14 +246,6 @@ def sendsimplemail(
         in_reply_to, multi_msg, sender=sender, references=references, cc=cc, 
to=toaddr)
 
 
-@task
-def send_raw_content(mail_system, addr_from, addr_to, full_email_content):
-    if mail_system == 'local':
-        if isinstance(addr_to, str):
-            addr_to = [addr_to]
-        smtp_client.send(addr_from, addr_to, full_email_content)
-
-
 def send_system_mail_to_user(user_or_emailaddr, subject, text):
     '''
     Sends a standard email from the Allura system itself, to a user.

Reply via email to