Changes between Version 2 and Version 3 of TracDev/Proposals/EmailValidation
- Timestamp:
- Dec 6, 2010, 9:20:11 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/Proposals/EmailValidation
v2 v3 59 59 A quick proposal for the changes made to the !NotificationApi would be: 60 60 61 - send_verification_email(email_address)62 - sends a verification email to the specified address61 - can_verify() 62 - callers must first check this whether email_address_verification is enabled. if it is not they must refrain from calling any of the methods below 63 63 - is_valid_email_address(email_address) 64 64 - this would initiate a first lookup of the email address, using an SMTP protocol implementation which can be used by callers to pre-validate the address 65 65 prior sending the verification email 66 - send_verification_email(email_address) 67 - sends a verification email to the specified address 66 68 - in both cases, the notification subsystem will lookup the email hash in the database prior to connecting to the remote or local system 67 69 - it will also lookup the hash for the email address and also will look for whether it was invalidated before, e.g. keys in current user's session … … 71 73 email address. 72 74 75 - email verification should be made configurable in the TracIni [notification] section, for example using a key enable_address_verification = True|False 76 77 73 78 ---- 74 79 See also: TracNotification, TracDev/Proposals, [wiki:TracDev/NotificationApi TracNotification API documentation], [wiki:TracDev/Announcer Developer reference page for AnnouncerPlugin]