Satchmo isn't doing anything special with sending email. It's just using the
Django send_mail.

For some reason, your domain is not set correctly. If you do python
manage.py shell you should get something like this-

In [1]: from satchmo_store.shop.models import Config

In [2]: shop_config = Config.objects.get_current()

In [3]: shop_config.site.domain
Out[3]: u'localhost'

-Chris

On Sat, Sep 5, 2009 at 9:00 PM, neridaj <[email protected]> wrote:

>
> I've configured a domain and name in the site settings but cannot
> figure out how to stop this error. I just want to use the python dumb
> e-mail sender but I don't even think I'm getting to that point. Is
> there something else I need to do other than configure a domain and a
> name under site configuration? I've used the dumb e-mail server with
> django-registration before and didn't have any problems. It seems like
> my site config isn't recognized.
>
> Traceback:
> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> site-packages/django/core/handlers/base.py" in get_response
>  92.                 response = callback(request, *callback_args,
> **callback_kwargs)
> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> site-packages/satchmo_store/accounts/views.py" in register
>  315.     ret = register_handle_form(request, redirect)
> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> site-packages/satchmo_store/accounts/views.py" in register_handle_form
>  159.             contact = form.save(request)
> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> site-packages/satchmo_store/accounts/forms.py" in save
>  78.             self.save_contact(request)
> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> site-packages/satchmo_store/accounts/forms.py" in save_contact
>  129.             send_welcome_email(email, first_name, last_name)
> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> site-packages/satchmo_store/accounts/mail.py" in send_welcome_email
>  29.         'site_url': shop_config.site.domain,
>
> Exception Type: AttributeError at /accounts/register/
> Exception Value: 'NoneType' object has no attribute 'domain'
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to