Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

SMTPlib with Proxy

Is there a way to rotate proxies with SMTPlib?

Is there a way to use proxies with smtlib?

Thanks for anyhelp i can get on the issue! :)
[Image: LElgQYb.jpg]

You can use PySocks for this i think :)
PHP Code

<?php 
import smtplib
import socks

#socks.setdefaultproxy(TYPE, ADDR, PORT)
socks.setdefaultproxy(socks.SOCKS5,'proxy.proxy.com, 8080)
socks.wrapmodule(smtplib) 
(Dec 10, 2016 03:10 PM)Hexi Wrote:  You can use PySocks for this i think :)

(Dec 11, 2016 04:03 AM)xthanos Wrote:  
PHP Code

<?php 
import smtplib
import socks

#socks.setdefaultproxy(TYPE, ADDR, PORT)
socks.setdefaultproxy(socks.SOCKS5,'proxy.proxy.com, 8080)
socks.wrapmodule(smtplib) 

Thanks guys! :-)
[Image: LElgQYb.jpg]

(Dec 14, 2016 01:13 PM)JohnFKennedy Wrote:  Thanks guys! :-)

Worked for your application? If not, post the error or describe the problem.

[Image: winged_scarab_white.png]
1AnubisAb8YszYn8TboYsBX5tywX9CnNy5
(Dec 15, 2016 04:42 PM)๖ۣۜAnubis Wrote:  Worked for your application? If not, post the error or describe the problem.

Hey Anubis.

Sorry for the late reply but yes it did work. Will post my work on github and share it here soon :-)
[Image: LElgQYb.jpg]



Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by SenatorTedCruzDec 8, 2019 10:16 PM 0 226 Dec 8, 2019 10:16 PM
Last Post: SenatorTedCruz
[Python] by MorphineJun 29, 2017 03:54 PM 3 279 Jun 29, 2017 03:54 PM
Last Post: arkoydas
[Python] by Malicious IntentNov 22, 2016 03:48 PM 3 197 Nov 22, 2016 03:48 PM
Last Post: Goodies