Changes between Version 20 and Version 21 of Ticket #2234


Ignore:
Timestamp:
04/24/2015 10:43:46 AM (5 years ago)
Author:
sebastian
Comment:

Made response texts consistent with #2213.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2234 – Description

    v20 v21  
    1111==== `/submitEmail` ==== 
    1212 
    13 This controller should handle email addresses submitted in a form field with the name `email` with a `POST` request. A verification email should be sent to that email address. The sender of the verification email should be info@adblockplus.org, its subjects should be "Please confirm your Adblock Browser notification" and following text should be used in the email body: 
     13This controller should handle email addresses submitted in a form field with the name `email` with a `POST` request. If the email address is invalid a response with status 400 and the text "Oops! You didn't enter a valid email address." should be returned. Otherwise, a verification email should be sent to that email address. The sender of the verification email should be info@adblockplus.org, its subjects should be "Please confirm your Adblock Browser notification" and following text should be used in the email body: 
    1414 
    1515{{{ 
     
    4141}}} 
    4242 
    43 The placeholder `<verification URL>` must be replaced with a link to `/verifyEmail` which is described below. Once the verification email has been sent, a response with the text "Thanks for your submission! You'll receive a verification email shortly." should be returned. 
     43The placeholder `<verification URL>` must be replaced with a link to `/verifyEmail` which is described below. Once the verification email has been sent, a response with the text "A confirmation email has been sent. Please check your email and click the confirmation link." should be returned. 
    4444 
    4545==== `/verifyEmail` ====