You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would love if I could set a custom DNS resolver to the aiosmtplib client, in the fashion of aiohttp. This would be particularly convenient in unit test environment where I setup custom DNS servers with fake domains resolving to custom test smtp servers.
Describe the solution you'd like
A resolver parameter, like aiohttp or
Describe alternatives you've considered
I could resolve all the domains with aiodns and manually retrieve the IP addresses behind the domain. I find this is far less convenient though.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would love if I could set a custom DNS resolver to the aiosmtplib client, in the fashion of aiohttp. This would be particularly convenient in unit test environment where I setup custom DNS servers with fake domains resolving to custom test smtp servers.
Describe the solution you'd like
A
resolver
parameter, like aiohttp orDescribe alternatives you've considered
I could resolve all the domains with aiodns and manually retrieve the IP addresses behind the domain. I find this is far less convenient though.
The text was updated successfully, but these errors were encountered: