21 lines
384 B
Text
21 lines
384 B
Text
|
#!/usr/bin/python
|
||
|
# Copyright (c) Twisted Matrix Laboratories.
|
||
|
# See LICENSE for details.
|
||
|
|
||
|
"""
|
||
|
This script attempts to send some email.
|
||
|
"""
|
||
|
|
||
|
import sys, os
|
||
|
extra = os.path.dirname(os.path.dirname(sys.argv[0]))
|
||
|
sys.path.insert(0, extra)
|
||
|
try:
|
||
|
import _preamble
|
||
|
except ImportError:
|
||
|
sys.exc_clear()
|
||
|
sys.path.remove(extra)
|
||
|
|
||
|
from twisted.mail.scripts import mailmail
|
||
|
mailmail.run()
|
||
|
|