How to generate opt and send it to email and phone number if i entered received otp it has to verify it
How can i do it pls help me sir.
How to generate opt and send it to email and phone number if i entered received otp it has to verify it
How can i do it pls help me sir.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Naimish MakwanaRank #324 · 7.7K reputationPosted Feb 22, 2023, 12:55 AM EST
Hello Jaya,
Refer below articles.
https://www.c-sharpcorner.com/article/how-to-send-one-time-password-on-registered-mobile-number-using-c-sharp/
https://www.c-sharpcorner.com/blogs/send-otp-sms-to-user-mobile-using-c-sharp
https://www.enjoysharepoint.com/generate-otp-asp-net/
Thanks
Naimish Makwana
Vishal YelveRank #178 · 13.6K reputationPosted Feb 22, 2023, 1:28 AM EST
Hey Jaya,
please refer below links
https://www.c-sharpcorner.com/article/how-to-send-one-time-password-on-registered-mobile-number-using-c-sharp/
https://www.c-sharpcorner.com/blogs/send-otp-sms-to-user-mobile-using-c-sharp
http://www.aspdotnet-pools.com/2017/02/how-to-send-and-verify-otp-on-mobile-no.html
Vishal JoshiRank #377 · 6.7K reputationPosted Feb 22, 2023, 3:25 AM EST
Hello Jaya,
You can use third-party services to send SMS and email from your application for verification. they are providing API support and you can use their API to achieve the task. some sample API proviprovidersion below
There are so many others you can serf. it depends you need international support or within the county only.
Thanks
Jaya PrakashRank #1,293 · 1.3K reputationPosted Feb 22, 2023, 7:08 AM EST
Thank You all otp is generating but it is not going to mob no
Naimish MakwanaRank #324 · 7.7K reputationPosted Feb 22, 2023, 7:12 AM EST
Hello Jaya,
If you want to send SMS on mobile number, you need to use third party service as suggested by @Vishal.
Thanks
Naimish Makwana