9 lines
206 B
Python
9 lines
206 B
Python
import smtplib
|
|
|
|
def main():
|
|
smtp = smtplib.SMTP("0.0.0.0", 25, 'mail')
|
|
smtp.sendmail('info@zbhome.com', ['michalkozlowski936@gmail.com'], "Hello from zbhome")
|
|
|
|
if __name__ == "__main__":
|
|
main()
|