/send_email_on_rfc821protocol

how to send e-mail on smtp server using python ?

Primary LanguagePython

send_email_on_rfc821protocol

how to send e-mail on smtp server using python ?

Requirements Libraries

  • smtplib
  • ssl
  • getpass
  • smtplib is used to connect to smtp server using rfc821 protocol. In this way the mail is send over smtp server.

    There is need a secure connection to send e-mail over smtp server. ssl library provides that secure connection.

    getpass library is used to get password as invisible. The password will be protected from other people.