Skip to content

Commit

Permalink
mail sending fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Root committed Oct 1, 2010
1 parent 96737bb commit b03742f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sendmail.py
Expand Up @@ -2,8 +2,8 @@

import email, email.parser, subprocess, os.path

default_from_address = None
default_template_location = os.path.dirname(__file__) + "/messages"
default_from_address = "support@netsoc.tcd.ie"
default_template_location = os.path.abspath(os.path.dirname(__file__)) + "/messages"

def sendmail(template_file, dict=None, **kwargs):
if dict is None: dict = {}
Expand Down

0 comments on commit b03742f

Please sign in to comment.