Update 3: Upgrade to sendinblue mail provider + more reliable email verification workflow
Reason for change
First of all the standard sengrid functionality gives problems when the users email is yahoo or hotmail. It simply does not arrive in many cases. The email verification workflow of Bubble uses the sendgrid email and uses a email confirmed “read-only” field in the database you cannot touch in your workflows. Therefore I decided to remove this out of the template and replace it for a m ore reliable up to date workflow where a 6 digit code is send to the user with sendinblue.
If you want to update your existing app with this upgrade, do the following:
Step 1
- insert two new fields in data type “user”
- field “confirmation code email” - test
- field “confirmation code expiration” - date
Step 2
- Activated plugin “sendinblue smtp”
Step 3
- Create sendinblue free acount
- Create sendinblue API
- Copy API to sendinblue plugin in Bubble (dev and live fields)
Step 4
- Deleted action type "send confirmation email and replaced for new workflow
- Page “email confirmation”- deleted
- Reusable element sign-in- deleted
- Reusable element sign-up - deleted
- Updated sign-up workflow with “email code confirmation”
- Updated sign-in workflow with “email code confirmation”
- Replaced all send email actions with sendinblue email actions
- Page profile - Deleted confirm email step when updating your email (unreliable Bubble step)
- Page setup - Deleted confirm email step when updating your email (unreliable Bubble step)
Step 5
Repair navigation errors. For reference check where the navigation actions navigate to in the template.
Best way to change step 4 in existing apps is to look for action type “send email” in your existing app and search for action type “sendinblue - send smtp mail”. In the end their should be 18 sendinblues actions and 0 send email actions. Just copy the sendinblue actions of the template to your existing app. With each copy check if no error arise.