Python : Edit smtplib.py for me in order to work with both ipv4 and ipv6
$10-30 USD
Zavřený
Zveřejněno přibližně před 3 roky
$10-30 USD
Zaplaceno při doručení
Hello everybody
I'm trying to connect to smtp using an adress source (IPv6) but i get this error :
Error : TypeError: AF_INET address must be a pair (host, port)
My part of code is :
smtpserver = [login to view URL]("[login to view URL]", 587, source_address=('2a00:xxxx:5::1e7', 80, 0, 0))
When i use an IPv4 like this :
smtpserver = [login to view URL]("[login to view URL]", 587, source_address=('[login to view URL]', 0))
it works with no issue
If anyone is able to edit the [login to view URL] for me in order that accepts both ipv4 and ipv6
ps : [login to view URL] attached file
ps2 : this patch is talking about this issue : [login to view URL]
Hey brother,
how are you? hope you are well...
as a python expert with 4 years of experience you problem is a basic problem for me. your main problem is in the host and port.
they are can't take this kind of host or port. this is why it is showing typeError.
i will as fast as possible. knock me for more discussions. i will be there for you.
have a nice day