3/7/2023 0 Comments Verify email address![]() You can enter your website or company name in this field. A name to use in the “From” field of the verification emails.An email address to use in the “From” field of the verification emails.The Template ID of the dynamic template, created in the previous section.Your SendGrid API key, created in the previous section.You will need to provide the following information: I’ve used email-verification.Īfter you provide the name, you will have to enter the details of your SendGrid account. You will be prompted to give your email integration a name. If you already have one or more email integrations, click the “+” sign to add one more. Then click on “ Email Integration” in the Verify menu.Ĭlick the “Create Email Integration” button to create a new email integration. ![]() Creating an email integrationįrom the Twilio Console, click the “All Products & Services” button and find “ Verify”. You will now move to your Twilio account to complete the configuration and link your Twilio and SendGrid accounts. The Twilio Verify service will send email through the SendGrid API key and dynamic template configured in the previous section. This is the only time you will be able to see your key, so copy the key and paste it in a text document to keep it handy until you need it in the next section. In the next page your API key will be displayed. From the three options below the name, select Full Access.Ĭlick the “Create & View” button to create the key. Once again you are free to use any name that you like. You will need to give your API key a name. In the API Keys page click the “Create API Key” button. The second part of the SendGrid configuration is to create an API key that Twilio can use when sending verification emails to users.įrom the dashboard, select “Settings” and then “ API Keys”. You can see where to find it in the screenshot below. Your new email template will have a “Template ID” assigned to it, which you will need later when configuring the Twilio account. Once you are happy with the template, click the “Settings” vertical button on the top-left corner of the page and enter a subject for your email.Ĭlick the “Save” button in the navigation bar and return to the Dynamic Templates page by hitting the back arrow button in the top left corner of the page. Leave those links alone and add the following HTML line to insert a paragraph with the email body above them, right after the element tag: You will notice that the blank template isn’t really blank, as it comes with a footer with unsubscribe links. Select the “Code Editor” option to have direct access to the HTML code of the email body. The next prompt will ask you to select an editor for your template. For the needs of this tutorial, you can select the “Blank Template”, but if you are familiar with HTML you can try one of the more interesting options. Click on it to expand the details as shown in the screenshot below:Ĭlick the “Add Version” button to create a first version for the template, and you will be offered a choice of pre-made templates to choose from. For this tutorial I have used the name email-verification.Ĭlicking on the "Create" button will redirect you to the Dynamic Templates page where you will see the newly created "email-verification" template. You will need to give your new template a name. The first step is to create an email template that the Twilio Verify service can use when emailing verification codes to users.įrom the SendGrid dashboard, click on “Email API” on the left-side menu, and then on “Dynamic Templates”.Ĭlick the “Create Dynamic Template” button to create a new template. In this section you will make all the necessary preparations in the SendGrid side. To configure an email verification solution you have to connect your Twilio and SendGrid accounts. Click here to create a free account, which allows you to send up to 100 emails per day. You can review the features and limitations of a free Twilio account. If you are new to Twilio click here to create a free account now and receive $10 credit when you upgrade to a paid account. If your operating system does not provide a Python interpreter, you can go to to download an installer. In this tutorial you’ll learn how to implement an email verification flow in a FastAPI application. Twilio Verify is an easy to use service for user verification through numeric codes that can be sent via SMS, voice call or email. To keep the creation of fake accounts under control, it is always a good idea to confirm that the user can receive email on the provided address. Most web applications accept the user’s email address during the sign up process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |