tags:

views:

370

answers:

1

Is there a way to login my hotmail account and send mails with a Python program?

+2  A: 

You can try using their SMTP server:

  • User name: Your Windows Live ID, for example [email protected]
  • Password: The password you usually use to sign in to Hotmail or Windows Live
  • SMTP server: smtp.live.com (Port 25) {Note: If port 25 has been blocked in your network or by your ISP, you can set SMTP port to 587 with TLS or SSL Encryption depending on the client in use}
  • Authentication required? Yes (this matches your POP username and password)
  • TLS/SSL required? Yes

Use smtplib to send mail. You can find some examples here.

Nikola Smiljanić