SHARE
TWEET

Untitled

a guest Aug 1st, 2018 189 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     cc_address = cc_address
  2.     bcc_address = bcc_address
  3.     post_name = post_name
  4.     text = text
  5.     msg = MIMEText(text, 'plain', charset)
  6.     subject = subject
  7.     msg['Subject'] = Header(subject.encode(charset), charset)
  8.     msg['Return-Path'] = from_address
  9.     msg['From'] = u"%s <%s>" % (str(Header(post_name, charset)), from_address)
  10.     msg['To'] = to_address
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top