User mengisi form, sistem akan mencek apakah email sudah terdaftar atau belum. Jika belum terdaftar, sistem akan mengirimkan email ke pendaftar sekaligus mencatat datanya di database.
The user fills out the form, the system will check whether the email has been registered or not. If not registered, the system will send an email to the registrant while recording the data in the database.
- create gmail
- turn off two step verification
- Go to the Less secure app access section of your Google Account (https://myaccount.google.com/lesssecureapps). You might need to sign in.
- Turn Allow less secure apps off.
- Register Grecaptcha (https://www.google.com/recaptcha/)
- Get SiteKey and SecretKey Recaptcha Google. Example impelementation di https://developers.google.com/recaptcha/docs/invisible
PHPMailer (https://github.com/PHPMailer/PHPMailer)