Back to index

python3.2  3.2.2
Variables
email-alternative Namespace Reference

Variables

string me = "my@email.com"
string you = "your@email.com"
tuple msg = MIMEMultipart('alternative')
string text = "Hi!\nHow are you?\nHere is the link you wanted:\nhttp://www.python.org"
string html
tuple part1 = MIMEText(text, 'plain')
tuple part2 = MIMEText(html, 'html')
tuple s = smtplib.SMTP('localhost')

Variable Documentation

string email-alternative.html
Initial value:
00001 """\
00002 <html>
00003   <head></head>
00004   <body>
00005     <p>Hi!<br>
00006        How are you?<br>
00007        Here is the <a href="http://www.python.org">link</a> you wanted.
00008     </p>
00009   </body>
00010 </html>
00011 """

Definition at line 21 of file email-alternative.py.

string email-alternative.me = "my@email.com"

Definition at line 10 of file email-alternative.py.

tuple email-alternative.msg = MIMEMultipart('alternative')

Definition at line 14 of file email-alternative.py.

tuple email-alternative.part1 = MIMEText(text, 'plain')

Definition at line 34 of file email-alternative.py.

tuple email-alternative.part2 = MIMEText(html, 'html')

Definition at line 35 of file email-alternative.py.

tuple email-alternative.s = smtplib.SMTP('localhost')

Definition at line 44 of file email-alternative.py.

string email-alternative.text = "Hi!\nHow are you?\nHere is the link you wanted:\nhttp://www.python.org"

Definition at line 20 of file email-alternative.py.

string email-alternative.you = "your@email.com"

Definition at line 11 of file email-alternative.py.