Commits

Tino de Bruijn committed b73f98d

fix typo

Comments (0)

Files changed (1)

simple_mail_merge/views.py

                                     (rec['email'],)))
             try:
                 send_mass_mail(tuple(datalist), 
-                    auth_user=forms.cleaned_data['auth_user'],
-                    auth_password=forms.cleaned_data['auth_password'])
+                    auth_user=form.cleaned_data['auth_user'],
+                    auth_password=form.cleaned_data['auth_password'])
             except smtplib.SMTPException, e:
                 form.errors[forms.NON_FIELD_ERRORS] = \
                     _("An error occurred upon sending: %s" % e)