diff --git a/src/plugins/plugin_misc_account.py b/src/plugins/plugin_misc_account.py index 965aeca6..601cc330 100755 --- a/src/plugins/plugin_misc_account.py +++ b/src/plugins/plugin_misc_account.py @@ -279,6 +279,9 @@ http://www.salut-a-toi.org # TODO: return error code to user log.error(u"Failed to send account creation confirmation to <%s>" % email) + # XXX: this will not fail when the email address doesn't exist + # FIXME: check email reception to validate email given by the user + # FIXME: delete the profile if the email could not been sent? d_user = sendmail(email_host, email_from, email, msg.as_string()) d_user.addCallbacks(lambda dummy: log.debug(u"Account creation confirmation sent to <%s>" % email), email_ko)