Просмотр исходного кода

Getting started with misago mailer #321

Rafał Pitoń 11 лет назад
Родитель
Сommit
fe1d4ed289
4 измененных файлов с 22 добавлено и 4 удалено
  1. 3 2
      docs/developers/index.rst
  2. 3 0
      docs/developers/mails.rst
  3. 3 2
      docs/index.rst
  4. 13 0
      misago/core/mail.py

+ 3 - 2
docs/developers/index.rst

@@ -34,7 +34,8 @@ Following references cover everything you want to know about writing your own ap
    coding_style
    shortcuts
    views_errors
-   cache_buster
-   thread_store
    forms
    context_processors
+   mails
+   cache_buster
+   thread_store

+ 3 - 0
docs/developers/mails.rst

@@ -0,0 +1,3 @@
+=============
+Sending Mails
+=============

+ 3 - 2
docs/index.rst

@@ -23,7 +23,8 @@ Table of Contents
    developers/coding_style
    developers/shortcuts
    developers/views_errors
-   developers/cache_buster
-   developers/thread_store
    developers/forms
    developers/context_processors
+   developers/mails
+   developers/cache_buster
+   developers/thread_store

+ 13 - 0
misago/core/mail.py

@@ -0,0 +1,13 @@
+from django.core import mail as djmail
+
+
+def send_mail():
+    pass
+
+
+def send_mass_mail():
+    pass
+
+
+def mail_user():
+    pass