hiteshchoudhary / apihub

Your own API Hub to learn and master API interaction. Ideal for frontend, mobile dev and backend developers.
https://freeapi.app
Other
6.84k stars 1.09k forks source link

Issue in users/forgot-password #190

Closed shayaan-1 closed 1 month ago

shayaan-1 commented 2 months ago

I was using users/forgot-password to send reset email to my email. It is not sending mail to the email address provided.

Your response will be valuable.

Sarthak-ONS commented 2 months ago

Hi, @shayaan-1, Have you added proper email creds in env file?

wajeshubham commented 1 month ago

@shayaan-1 we are using the mailtrap library to send emails, if you want to enable email sending, kindly populate following env vars with appropriate credentials in the .env file.

# ################ ENV VARS TO SEND MAILS THROUGH MAILTRAP START #################
MAILTRAP_SMTP_HOST=__mailtrap_smtp_host__
MAILTRAP_SMTP_PORT=__mailtrap_smtp_port__
MAILTRAP_SMTP_USER=__mailtrap_smtp_user_id__
MAILTRAP_SMTP_PASS=__mailtrap_smtp_user_password__
# ################ ENV VARS TO SEND MAILS THROUGH MAILTRAP END #################

Thank you!