If you forgot your iPhone password you'll have to use the recovery mode. It will erase it's password but all of data on it as well, so make sure you've made a backup.
If you don’t receive the email in the next 2 minutes please check your junk folder, and add [email protected] to your safe sender list.