Opened 2 years ago

Last modified 2 years ago

#193 new defect

Error when sending a mail to a user who did not register an email

Reported by: Mokona Owned by: somebody
Priority: minor Milestone: 1.0
Component: Private messaging Version: devel
Keywords: mail Cc:
Blocked By: Blocking:

Description

When sending an email to a user, using this URL: forum/misc/?mail_to=some_user

If the user has no email in the profile, we get an error.

Exception Type: SMTPRecipientsRefused
Exception Value: {: (501, '5.1.3 Bad recipient address syntax')}

It seems the view needs an email validation before using the email_user function.

Change History (1)

comment:1 Changed 2 years ago by slav0nic

if u using standart registration from forum situation when in your DB exist user without mail is imposible.

but you are right, we planning move registration to examples and make more djangobb pluggable, in this situation checking email wil be ok

Note: See TracTickets for help on using tickets.