# 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='worse when you use them.',
    from_='xxxxx@xxxxx',
    to=('',),
    cc=(),
    bcc=(),
    reply_to=(),
    date=datetime.datetime(2005, 4, 27, 14, 15, 31, tzinfo=datetime.timezone(datetime.timedelta(-1, 61200))),
    date_str='Wed, 27 Apr 2005 14:15:31 -0700',
    text='\r\nXXXXX Xxxxx\r\n',
    html='',
    headers={'mime-version': ('1.0 (Apple Message framework v619.2)',), 'to': ('"xxxxx@xxxxx" <matmail>',), 'message-id': ('<416eaebec6d333ec6939eaf8a7d80724@xxxxx>',), 'content-type': ('multipart/alternative;\r\n        boundary=Apple-Mail-5-1037861608',), 'from': ('"xxxxx@xxxxx" <xxxxx@xxxxx>',), 'subject': ('worse when you use them.',), 'date': ('Wed, 27 Apr 2005 14:15:31 -0700',)},
    attachments=[],
    from_values=EmailAddress('xxxxx@xxxxx', 'xxxxx@xxxxx', 'xxxxx@xxxxx <xxxxx@xxxxx>'),

# 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/mime_emails/raw_email11.py
import datetime
from imap_tools import EmailAddress


DATA = dict(
    subject='worse when you use them.',
    from_='xxxxx@xxxxx',
    to=('',),
    cc=(),
    bcc=(),
    reply_to=(),
    date=datetime.datetime(2005, 4, 27, 14, 15, 31, tzinfo=datetime.timezone(datetime.timedelta(-1, 61200))),
    date_str='Wed, 27 Apr 2005 14:15:31 -0700',
    text='\r\nXXXXX Xxxxx\r\n',
    html='',
    headers={'mime-version': ('1.0 (Apple Message framework v619.2)',), 'to': ('"xxxxx@xxxxx" <matmail>',), 'message-id': ('<416eaebec6d333ec6939eaf8a7d80724@xxxxx>',), 'content-type': ('multipart/alternative;\r\n        boundary=Apple-Mail-5-1037861608',), 'from': ('"xxxxx@xxxxx" <xxxxx@xxxxx>',), 'subject': ('worse when you use them.',), 'date': ('Wed, 27 Apr 2005 14:15:31 -0700',)},
    attachments=[],
    from_values=EmailAddress('xxxxx@xxxxx', 'xxxxx@xxxxx', 'xxxxx@xxxxx <xxxxx@xxxxx>'),

    to_values=(EmailAddress('xxxxx@xxxxx', '', 'xxxxx@xxxxx <matmail>'),),