Suljettu

Python : Edit [login to view URL] for me in order to work with both ipv4 and ipv6

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]

Taidot: Python, Linux, Tietojärjestelmäarkkitehtuuri, Ubuntu, PHP

Näytä lisää: python edit, python edit text file, oscommerce edit center page order, edit photo photoshop start work online, python edit text, xbmc python edit, how to order work to freelancing, how to see the order work in freelancer online job, python edit file in place, python edit and continue, python edit text file line by line, python edit installed package, python edit webpage, does stop loss order work after hours, python edit own script, python edit csv file, python edit pdf, how does apple pre order work, python edit file in-place, how does burger king mobile order work

Tietoa työnantajasta:
( 0 arvostelua ) casablanca, Morocco

Projektin tunnus: #29917751

2 freelanceria on tarjonnut keskimäärin $18 tähän työhön

ja837855

I can solve this problem for you .Am available ASAP Kind Regards J .Allen

$20 USD 7 päivässä
(0 arvostelua)
0.0
smaron123

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 Lisää

$15 USD 3 päivässä
(0 arvostelua)
0.0