You can ask the user to verify it when creating a user. Laravel comes with this built into its starter kits.
How can I check If given email was real in laravel
How can I check If given email was real in laravel?
@Sinnbeck yes, but I dont want to send verification mail, can I do without verification mail?
@amitsolanki24_ You cannot know if an email exists without actually sending an email to it. Best bet then is dns check then
@amitsolanki24_ Keep in mind that Email Verification not only confirms that the email address exists, but also that it belongs to the person who entered it.
- Email Verification when they register (Send a Verification Email)
- DNS Validation (MX Record Check)
- Checking email is disposable (there is a laravel package for that https://github.com/Propaganistas/Laravel-Disposable-Email)
- Using External Email Verification APIs
@jsanwo64 hey thanks for your time.
- I dont want to send verification mail
- I have used checkdnsr() php function its not validating correctly (Suppose I pass [email protected] its giving true becuase domain is valid)
- Does it's safe to use (https://github.com/Propaganistas/Laravel-Disposable-Email) ?
@amitsolanki24_ What you need is an API check out https://www.abstractapi.com/api/email-verification-validation-api
@jsanwo64 Is there any free api or something else?
@amitsolanki24_ But they have a free plan already, to test what you need. And it seems to be the cheapest .
Please or to participate in this conversation.