Skip to content

Commit

Permalink
small tweak in sending email address
Browse files Browse the repository at this point in the history
  • Loading branch information
benadida committed Apr 16, 2009
1 parent 102dc6e commit 5b28107
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controllers/election.py
Expand Up @@ -137,7 +137,7 @@ def submit(self, voter, email, password, encrypted_vote):
The Helios Voting System
""" % (voter.name, election_obj.name, voter.get_vote_hash(), election_obj.hash)

mail.simple_send([voter.name],[voter.email], "Helios", "system@heliosvoting.org", "your vote was recorded", mail_body)
mail.simple_send([voter.name],[voter.email], "Helios", "ben@adida.net", "your vote was recorded", mail_body)

return SUCCESS

Expand Down Expand Up @@ -718,7 +718,7 @@ def voters_email_2(self, election, introductory_message, voter_ids=None, after=N
if user:
sender_email = user.email_address
else:
sender_email = "system@heliosvoting.org"
sender_email = "ben@adida.net"

for voter in voters:
logging.info("sending email to %s" % voter.email)
Expand Down Expand Up @@ -790,7 +790,7 @@ def email_trustees_2(self, election, body):
full_body = message % (body, election.name, config.webroot + ('/elections/%s/trustees/%s/home' % (election.election_id, utils.urlencode(trustee.email))), trustee.password)

# send out the emails for the shares
mail.simple_send([trustee.email],[trustee.email],"Helios","system@heliosvoting.org", subject, full_body)
mail.simple_send([trustee.email],[trustee.email],"Helios","ben@adida.net", subject, full_body)

return "DONE"

Expand Down

0 comments on commit 5b28107

Please sign in to comment.