# Path: imap_tools/utils.py
# class EmailAddress:
#     """Parsed email address info"""
#     __slots__ = 'name', 'email', 'full'
# 
#     def __init__(self, name: str, email: str, full: str):
#         self.name = name
#         self.email = email
#         self.full = full
# 
#     def __repr__(self):
#         return "{}(name={}, email={}, full={})".format(
#             self.__class__.__name__, repr(self.name), repr(self.email), repr(self.full))
# 
#     def __eq__(self, other):
#         return all(getattr(self, i) == getattr(other, i) for i in self.__slots__)


import datetime
from imap_tools import EmailAddress

DATA = dict(
    subject='Formao FrenetikPolis: Mega Campanha Final Vero | Cursos de Setembro',
    from_='info@formacaofrenetik.info',
    to=('martin@internet.ao', 'iris@internet.ao', 'support@maxnet.ao'),
    cc=(),
    bcc=(),
    reply_to=(),
    date=datetime.datetime(1900, 1, 1, 0, 0),
    date_str='',
    text='TEST\r\n',
    html='',
    headers={'from': ('"=?Windows-1252?B?Rm9ybWHn428gRnJlbmV0aWtwb2xpcw==?=" <info@formacaofrenetik.info>',), 'to': ('martin@internet.ao, iris@internet.ao, support@maxnet.ao',), 'subject': ('Forma\udce7\udce3o FrenetikPolis: Mega Campanha Final Ver\udce3o | Cursos de Setembro',)},
    attachments=[],
    from_values=EmailAddress('Formação Frenetikpolis', 'info@formacaofrenetik.info', 'Formação Frenetikpolis <info@formacaofrenetik.info>'),

# Path: imap_tools/utils.py
# class EmailAddress:
#     """Parsed email address info"""
#     __slots__ = 'name', 'email', 'full'
# 
#     def __init__(self, name: str, email: str, full: str):
#         self.name = name
#         self.email = email
#         self.full = full
# 
#     def __repr__(self):
#         return "{}(name={}, email={}, full={})".format(
#             self.__class__.__name__, repr(self.name), repr(self.email), repr(self.full))
# 
#     def __eq__(self, other):
#         return all(getattr(self, i) == getattr(other, i) for i in self.__slots__)


# Path: tests/messages_data/error_emails/invalid_subject_characters.py
import datetime
from imap_tools import EmailAddress


DATA = dict(
    subject='Formao FrenetikPolis: Mega Campanha Final Vero | Cursos de Setembro',
    from_='info@formacaofrenetik.info',
    to=('martin@internet.ao', 'iris@internet.ao', 'support@maxnet.ao'),
    cc=(),
    bcc=(),
    reply_to=(),
    date=datetime.datetime(1900, 1, 1, 0, 0),
    date_str='',
    text='TEST\r\n',
    html='',
    headers={'from': ('"=?Windows-1252?B?Rm9ybWHn428gRnJlbmV0aWtwb2xpcw==?=" <info@formacaofrenetik.info>',), 'to': ('martin@internet.ao, iris@internet.ao, support@maxnet.ao',), 'subject': ('Forma\udce7\udce3o FrenetikPolis: Mega Campanha Final Ver\udce3o | Cursos de Setembro',)},
    attachments=[],
    from_values=EmailAddress('Formação Frenetikpolis', 'info@formacaofrenetik.info', 'Formação Frenetikpolis <info@formacaofrenetik.info>'),

    to_values=(EmailAddress('', 'martin@internet.ao', 'martin@internet.ao'), EmailAddress('', 'iris@internet.ao', 'iris@internet.ao'), EmailAddress('', 'support@maxnet.ao', 'support@maxnet.ao')),