Use GMAIL SMTP server for free to try the App

Hey everyone,

I tried using the GMAIL SMTP server to send OTP and it worked. Here is how you can do it:

  1. Open your gmail account. Go to Account> Security settings and turn on less secure app access.
  2. Go to api_config.properties on the server. Set the credentials to your email in the username and password section. Set server to smtp.gmail.com and port 587.
  3. Try using the otp service now and you should receive an email stating “google blocked a sign-in attempt”. Unblock the same. and try again. You should be good to go.

Let me know if you have issues. Please see google does not allow too many smtp emails and might charge beyond a certain point. But it is helpful when you are trying out the same.

Cheers!

1 Like

Thanks anurag … very greatful to you for this tutorial … it will be very helpful for those trying to launch or just exploring the new marketplace !