<commit_before>import smtplib
 
def sendemail(from_addr, to_addr_list, cc_addr_list,
              subject, message,
              login, password,
              smtpserver='smtp.gmail.com'):
    header  = 'From: %s\n' % from_addr
    header += 'To: %s\n' % ','.join(to_addr_list)
    header += 'Cc: %s\n' % ','.join(cc_addr_list)
    header += 'Subject: %s\n\n' % subject
    message = header + message
 
    server = smtplib.SMTP(smtpserver)
    server.starttls()
    server.login(login,password)
    problems = server.sendmail(from_addr, to_addr_list, message)
    server.quit()
    return problems
    
l = raw_input("Enter Username!");
p = raw_input("Enter Password!")
    
sendemail(from_addr    = '<EMAIL>', 
          to_addr_list = ['<EMAIL>	'],
          cc_addr_list = ['<EMAIL>'], 
          subject      = 'Hello', 
          message      = 'Hi', 
          login        = l, 
          password     = p)   <commit_msg>Made changes in input<commit_after>import smtplib
 
def sendemail(from_addr, to_addr_list, cc_addr_list,
              subject, message,
              login, password,
              smtpserver='smtp.gmail.com'):
    header  = 'From: %s\n' % from_addr
    header += 'To: %s\n' % ','.join(to_addr_list)
    header += 'Cc: %s\n' % ','.join(cc_addr_list)
    header += 'Subject: %s\n\n' % subject
    message = header + message
 
    server = smtplib.SMTP(smtpserver)
    server.starttls()
    server.login(login,password)
    problems = server.sendmail(from_addr, to_addr_list, message)
    server.quit()
    return problems
    
username = raw_input("Enter Username!")
password = raw_input("Enter Password!")
to_addr = raw_input("Enter To Address")
cc_addr = raw_input("Enter CC Address")
subject = raw_input("Enter Subject!")
message = raw_input("Enter Message!")

    
sendemail(from_addr    = '', 
          to_addr_list = [to_addr],
          cc_addr_list = [cc_addr], 
          subject      = subject, 
          message      = message, 
          login        = username, 
          password     = password)   
{'fraction_non_alphanumeric': 0.13238886174890083, 'fraction_numerical': 0.0, 'mean_word_length': 2.4133333333333336, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5722151', 'n_tokens_mistral': 691, 'n_tokens_neox': 675, 'n_words': 138}