# Path: solace/settings.py
# def configure(**values):
# def revert_to_default():
# def autodiscover_settings():
# def configure_from_file(filename):
# def describe_settings():


import os
import re
                import socket
    from email.mime.text import MIMEText
    from email.MIMEText import MIMEText
from smtplib import SMTP, SMTPException
from urlparse import urlparse
from solace import settings
# -*- coding: utf-8 -*-
"""
    solace.utils.mail
    ~~~~~~~~~~~~~~~~~

    This module can be used to send mails.

    :copyright: (c) 2010 by the Solace Team, see AUTHORS for more details.
                (c) 2009 by the Zine Team, see AUTHORS for more details.
    :license: BSD, see LICENSE for more details.
"""
try:
except ImportError:



def send_email(subject, text, to_addrs, quiet=True):
    """Send a mail using the `EMail` class.  This will log the email instead
    if the application configuration wants to log email.
    """
    e = EMail(subject, text, to_addrs)

# Path: solace/settings.py
# def configure(**values):
# def revert_to_default():
# def autodiscover_settings():
# def configure_from_file(filename):
# def describe_settings():


# Path: solace/utils/mail.py
import os
import re
                import socket
    from email.mime.text import MIMEText
    from email.MIMEText import MIMEText
from smtplib import SMTP, SMTPException
from urlparse import urlparse
from solace import settings

# -*- coding: utf-8 -*-
"""
    solace.utils.mail
    ~~~~~~~~~~~~~~~~~

    This module can be used to send mails.

    :copyright: (c) 2010 by the Solace Team, see AUTHORS for more details.
                (c) 2009 by the Zine Team, see AUTHORS for more details.
    :license: BSD, see LICENSE for more details.
"""
try:
except ImportError:



def send_email(subject, text, to_addrs, quiet=True):
    """Send a mail using the `EMail` class.  This will log the email instead
    if the application configuration wants to log email.
    """
    e = EMail(subject, text, to_addrs)

    if settings.MAIL_LOG_FILE is not None: