Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~958 People Reached
Favorite Forums
Member Avatar for sravanthi89

[CODE]#!/usr/bin/python import smtplib sender = 'from@fromdomain.com' receivers = ['to@todomain.com'] message = """From: From Person <from@fromdomain.com> To: To Person <to@todomain.com> Subject: SMTP e-mail test This is a test e-mail message. """ try: smtpObj = smtplib.SMTP('smtp.gmail.com') smtpObj.sendmail(sender, receivers, message) print "Successfully sent email" except smtplib.SMTPException: print "Error: unable to send email" [/CODE] …

Member Avatar for TrustyTony
0
883
Member Avatar for sravanthi89

I have to create a list with a menu options for 1. Add, 2. Remove, 3. Check if element exists, 4.Display list, 5. would you like to Continue? 6. Exit I could write the code so far. Pls help me complete it. (ASAP) [CODE]fruits = ['Apple', 'Banana', 'Grapes', 'Peach'] #while …

Member Avatar for sravanthi89
0
75