معرفی شرکت ها


django-email-templates-0.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Convenient helper to send multipart/alternative or regular email based on templates.
ویژگی مقدار
سیستم عامل -
نام فایل django-email-templates-0.1
نام django-email-templates
نسخه کتابخانه 0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Sævar Öfjörð Magnússon
ایمیل نویسنده saevar@saevar.is
آدرس صفحه اصلی http://github.com/saevarom/django-email-templates
آدرس اینترنتی https://pypi.org/project/django-email-templates/
مجوز MIT
This small module is inspired by my need for sending templated emails, with the option of attaching an HTML formatted alternative. Installation ============= Installing:: pip install django-email-templates Example usage ============== The following example demonstrates how to send a templated email, in this case the user has submitted a contact form. The module will look for the templates contact.txt and contact.html which will serve as the plaintext and html alternative of the email. The default location of the templates is a directory named *email_templates*.:: from email_templates import send_templated_mail context = { 'name': request.POST['name'], 'email': request.POST['email'], 'telephone': request.POST['phone'], 'message': request.POST['message'], } success = send_templated_mail( 'Contact form submission', None, [a[1] for a in settings.ADMINS], 'contact', context )


نحوه نصب


نصب پکیج whl django-email-templates-0.1:

    pip install django-email-templates-0.1.whl


نصب پکیج tar.gz django-email-templates-0.1:

    pip install django-email-templates-0.1.tar.gz