Python
PythonにはSMTP用のライブラリが標準で用意されている。
#! /usr/bin/env python
import smtplib
server = smtplib.SMTP(host="localhost", port=1025)
server.set_debuglevel(1)
server.sendmail("[email protected]", ["[email protected]"], "OK")
server.quit()
PythonにはSMTP用のライブラリが標準で用意されている。
#! /usr/bin/env python
import smtplib
server = smtplib.SMTP(host="localhost", port=1025)
server.set_debuglevel(1)
server.sendmail("[email protected]", ["[email protected]"], "OK")
server.quit()