diff --git a/Pipfile b/Pipfile index d2301c5..ba724c0 100644 --- a/Pipfile +++ b/Pipfile @@ -14,6 +14,7 @@ aiosmtplib = "*" httpx = "*" sphinx = "*" typing-extensions = "*" +attr = "*" [packages] httpx = "*" diff --git a/async_sender/_version.py b/async_sender/_version.py index 9017b9f..c05af1b 100644 --- a/async_sender/_version.py +++ b/async_sender/_version.py @@ -1 +1 @@ -__version__ = "2.0.1" # pragma: no cover +__version__ = "3.0.0" # pragma: no cover diff --git a/async_sender/api.py b/async_sender/api.py index 8277a62..2db7509 100644 --- a/async_sender/api.py +++ b/async_sender/api.py @@ -333,6 +333,6 @@ async def send(self, message: "Message"): message.from_address, message.to_address, message.as_bytes(), - message.mail_options, - message.rcpt_options, + mail_options=message.mail_options, + rcpt_options=message.rcpt_options, ) diff --git a/setup.py b/setup.py index 347dafe..b136e70 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ REQUIRED = [ - 'aiosmtplib==2.0.2' + 'aiosmtplib==3.0.1' ] setup(