paulovieira / rede-convergir-3

3 stars 3 forks source link

improve the feedback after the email is sent #13

Open paulovieira opened 8 years ago

paulovieira commented 8 years ago

After calling the mandrill API we should check the status field in the response. If the provided email address was wrong (example: name@gmail.con instead of name@gmail.com), the status field will be invalid (or something similar - check the mandrill docs).

We should then tell the user that the initiative was registered and will be reviews, however the email was not sent.