You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by di...@apache.org on 2022/09/09 18:08:28 UTC

[allura] branch dw/8460 updated: fixup! fixup! fixup! [#8460] add new email @task which sends an already formatted email content

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 5180aa48a fixup! fixup! fixup! [#8460] add new email @task which sends an already formatted email content
5180aa48a is described below

commit 5180aa48acabd01214d058803fc02dd5c25a4936
Author: Dillon Walls <di...@slashdotmedia.com>
AuthorDate: Fri Sep 9 18:08:22 2022 +0000

    fixup! fixup! fixup! [#8460] add new email @task which sends an already formatted email content
---
 Allura/allura/lib/mail_util.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Allura/allura/lib/mail_util.py b/Allura/allura/lib/mail_util.py
index 226a62b01..2caef5c26 100644
--- a/Allura/allura/lib/mail_util.py
+++ b/Allura/allura/lib/mail_util.py
@@ -302,9 +302,9 @@ class SMTPClient:
                         list(map(str, addrs)))
             return
 
-        self.send(config.return_path, smtp_addrs, content)
+        self.send_raw(config.return_path, smtp_addrs, content)
 
-    def send(self, addr_from, smtp_addrs, content):
+    def send_raw(self, addr_from, smtp_addrs, content):
         if not self._client:
             self._connect()
         try: