معرفی شرکت ها


drymail-0.0.6


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Drymail is a minimalist wrapper over Python’s existing smtplib and email libraries, designed to be friendly but unrestrictive.
ویژگی مقدار
سیستم عامل -
نام فایل drymail-0.0.6
نام drymail
نسخه کتابخانه 0.0.6
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Sumit Ghosh
ایمیل نویسنده sumit@sumit-ghosh.com
آدرس صفحه اصلی https://github.com/SkullTech/drymail
آدرس اینترنتی https://pypi.org/project/drymail/
مجوز MIT
# drymail Makes sending emails easy and [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) — For Python 3. [![PyPI version](https://badge.fury.io/py/drymail.svg)](https://badge.fury.io/py/drymail) __Drymail__ is a minimalist wrapper over Python’s existing [smtplib](https://docs.python.org/3/library/smtplib.html) and [email](https://docs.python.org/3/library/email.html) libraries, designed to be friendly but unrestrictive. Here’s how you might send a simple email with an attachment using _drymail_. ```python from drymail import SMTPMailer, Message client = SMTPMailer(host='smtp.email.com', user='johndoe', password='password', tls=True) message = Message(subject='Congrats on the new job!', sender=('John Doe', 'john@email.com'), receivers=[('Jane Doe', 'jane@message.com'), 'jane.doe@mail.io'], text='When is the party? ;)') with open('congrats.pdf', 'rb') as pdf_file: message.attach(filename='congrats.pdf', data=pdf_file.read(), mimetype='application/pdf') client.send(message) ``` ## Features - Supports creating email with HTML content, plaintext content, or both! - Supports mentioning contacts in the `“John Doe" <john@email.com>` format. - Support standard headers like `CC`, `BCC`, `Reply-To` and `Authors`. - Supports injecting custom headers. - Supports adding attachments. - And most importantly — the library being minimalist, it doesn’t restrict you in any way like some of the most fancier email frameworks do. ## Installation Install `drymail` by running — ```console $ pip3 install drymail ``` ## Documentation Documentation is available at https://drymail.readthedocs.io/ ## Agenda - Test suite. - Restructure the `Message` class to handle dynamic `prepare`. ## Contribute All kinds of contribution are welcome. - Issue Tracker — https://github.com/drymail/issues - Source Code — https://github.com/drymail ## License This project is licensed under the MIT license.


نیازمندی

مقدار نام
- mistune
- beautifulsoup4


نحوه نصب


نصب پکیج whl drymail-0.0.6:

    pip install drymail-0.0.6.whl


نصب پکیج tar.gz drymail-0.0.6:

    pip install drymail-0.0.6.tar.gz