straight55b / app-engine-patch

Automatically exported from code.google.com/p/app-engine-patch
0 stars 0 forks source link

InvalidSenderError: Unauthorized sender #216

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select Register User
2. Register a new user
3. Get the confirmation the a verification email was sent
4. Check the logs and the following error:

Exception in request:
Traceback (most recent call last):
  File
"/base/data/home/apps/bcoster-test/1.336228013658018887/common/zip-packages/djan
go-1.1.zip/django/core/handlers/base.py",
line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File
"/base/data/home/apps/bcoster-test/1.336228013658018887/registration/views.py",
line 137, in register
    new_user = form.save(domain_override)
  File
"/base/data/home/apps/bcoster-test/1.336228013658018887/myapp/forms.py",
line 62, in save
    domain_override=domain_override)
  File
"/base/data/home/apps/bcoster-test/1.336228013658018887/registration/models.py",
line 135, in create_inactive_user
    send_mail(subject, message, settings.DEFAULT_FROM_EMAIL, [new_user.email])
  File
"/base/data/home/apps/bcoster-test/1.336228013658018887/common/zip-packages/djan
go-1.1.zip/django/core/mail.py",
line 369, in send_mail
    connection=connection).send()
  File
"/base/data/home/apps/bcoster-test/1.336228013658018887/common/zip-packages/djan
go-1.1.zip/django/core/mail.py",
line 245, in send
    return self.get_connection(fail_silently).send_messages([self])
  File
"/base/data/home/apps/bcoster-test/1.336228013658018887/common/zip-packages/djan
go-1.1.zip/django/core/mail.py",
line 139, in send_messages
    sent = self._send(message)
  File
"/base/data/home/apps/bcoster-test/1.336228013658018887/common/zip-packages/djan
go-1.1.zip/django/core/mail.py",
line 165, in _send
    e.send()
  File "/base/python_lib/versions/1/google/appengine/api/mail.py", line
714, in send
    raise ERROR_MAP[e.application_error](e.error_detail)
InvalidSenderError: Unauthorized sender

This seems to be same problem referenced here
(http://groups.google.com/group/google-appengine-python/browse_thread/thread/def
1b7b41a22803f/21fdf99a7db7b4a5#21fdf99a7db7b4a5),
however I have a admin with a valid email address and that does not solve
the problem.

What is the expected output? What do you see instead?

Should have received a verification email

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by coste...@gmail.com on 11 Sep 2009 at 3:35