# HG changeset patch # User souliane # Date 1452935356 -3600 # Node ID 33e73c70d78ab33cf55c6369af310804ee2ecd40 # Parent 14a97a5fe1c0b68862319c48c8cb7eb80bfd1943 plugin misc_account: add a FIXME comment diff -r 14a97a5fe1c0 -r 33e73c70d78a src/plugins/plugin_misc_account.py --- a/src/plugins/plugin_misc_account.py Fri Jan 15 17:13:59 2016 +0100 +++ b/src/plugins/plugin_misc_account.py Sat Jan 16 10:09:16 2016 +0100 @@ -279,6 +279,9 @@ # 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)