email generator for scrapebox

notrin

Power Member
Joined
Apr 15, 2010
Messages
643
Reaction score
71
Here you go,
Here is a python email generator
please thank me if you find this useful.


Code:
import random
import string

tlds = ['com', 'net', 'us']

name_file = open('woman-name.txt','r')
word_file = open('second-word.txt','r')
domain_file = open('domain-list.txt','r')
names = name_file.readlines()
words = word_file.readlines()
domains = domain_file.readlines()
name_file.close()
word_file.close()
domain_file.close()

w = lambda x: x[random.randint(0,len(x))-1].replace("\n",'').strip()

def randomString(size=5):
    return ''.join(random.choice(string.digits) for x in range(size))

def generateEmail():
    mailuser   = w(names) 
    randomWord = w(words)
    randuser   = randomString(10)
    hostname   = w(domains)
    tld        = w(tlds)
    return '%s.%s.%s@%s.%s' % (mailuser, randomWord, randuser, hostname, tld)

NUMBER_OF_EMAILS = 30
for i in range(NUMBER_OF_EMAILS):
    print generateEmail()



 
lol crap! i guess i better check it out! :( i fail, but hey, it can be used for something else im sure
 
i checked it, its nice. does it only allow 1 domain for @domain.com ? mine allows a full dictionary list. and multiple tlds for each domain
 
Back
Top