Guest User

Untitled

a guest
Feb 17th, 2019
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. a=list(map(int,input().split()))
  2. a.pop()
  3. a.append(x)
  4.  
  5.  
  6.  
  7. import smtplib
  8.  
  9. server = 'smtp.gmail.com'
  10. user = 'batkur@gmail.com'
  11. password = '112001batyrovich'
  12.  
  13. recipients = ['batyrovich@mail.ru']
  14. sender = 'batkur@gmail.com'
  15. message = 'Hello World'
  16.  
  17. session = smtplib.SMTP_SSL(server,465)
  18. # if your SMTP server doesn't need authentications,
  19. # you don't need the following line:
  20. session.login(user, password)
  21. session.sendmail(sender, recipients, message)
  22. session.close()
Add Comment
Please, Sign In to add comment