haystack / murmur

A mailing list designed to reduce noise and encourage sharing
25 stars 13 forks source link

Activation emails not being sent when creating new accounts #177

Closed oliverjd closed 7 years ago

oliverjd commented 7 years ago

After making a new account I never receive an activation email so can't use my account. Error message in murmur_smtp.log below:

ERROR handling smtp_handler.main.send_account_info
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/lamson/routing.py", line 375, in call_safely
    func(message, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/lamson/routing.py", line 495, in routing_wrapper
    next_state = func(message, *args, **kw)
  File "/home/ubuntu/production/mailx/smtp_handler/main.py", line 831, in send_account_info
    mail = MailResponse(From = NO_REPLY, To = message['To'], Subject = message['Subject'], Body = msg_text['plain'])
KeyError: 'plain'