Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# -*- coding: utf-8 -*-
2"""
3@file
4@brief Module *pymmails*.
5Functions to automatically grab and send mails.
6"""
7from .grabber.mail_exception import MailException
8from .grabber.email_message import EmailMessage
9from .grabber.mailboximap import MailBoxImap
10from .grabber.mailbox_mock import MailBoxMock
11from .render.email_message_renderer import EmailMessageRenderer
12from .render.email_message_list_renderer import EmailMessageListRenderer
13from .sender.email_sender import create_smtp_server, send_email, compose_email
16__version__ = "0.3.339"
17__author__ = "Xavier Dupré"
18__github__ = "https://github.com/sdpython/pymmails"
19__url__ = "http://www.xavierdupre.fr/app/pymmails/helpsphinx/index.html"
20__license__ = "MIT License"
23def _setup_hook():
24 """
25 does nothing
26 """
27 pass
30def check(log=False):
31 """
32 Checks the library is working.
33 It raises an exception.
34 If you want to disable the logs:
36 @param log if True, display information, otherwise
37 @return 0 or exception
38 """
39 return True