Akshit Thakur Ak
Akshit Thakur Ak

Reputation: 110

Can i send and receive emails using ActionMailer in development env.?

I am trying to design a email confirmation but not able to receive emails in my gmail account. Can anyone help ?

Upvotes: 0

Views: 63

Answers (1)

  1. one-step confirmation in gmail does not work;
  2. you must enable 2-step gmail verification and enable app password;
  3. dotenv doesn't load the passwords to production - you have to feed heroku in CLI heroku config:set var1=value1, etc. or at the link https://dashboard.heroku.com/apps/<your_application>/settings (this last tip does not apply to development).

For a specific trouble, please: a) detail the code and error; or b) make available your public repository in github.

Upvotes: 1

Related Questions