diff src/plugins/plugin_misc_account.py @ 1804:33e73c70d78a

plugin misc_account: add a FIXME comment
author souliane <souliane@mailoo.org>
date Sat, 16 Jan 2016 10:09:16 +0100
parents d17772b0fe22
children 1c9b2c184663
line wrap: on
line diff
--- 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)