Gem mailcatcher - do not received emails

106 views
Skip to first unread message

Dmitriy

unread,
Jul 16, 2015, 10:27:45 AM7/16/15
to rubyonra...@googlegroups.com
I create new user. After creating should received confirmation mail. but when i open mailcatcher(http://127.0.0.1:1080/)... nothing!  

i use mailcatcher v. 0.5.12, Rails 3.2.22

In development.rb added:

   
# Don't care if the mailer can't send
      config
.action_mailer.delivery_method = :smtp
      config
.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
      config
.action_mailer.raise_delivery_errors = true

 

What is wrong with settings? How check error? Please, help, thank you. 
Message has been deleted

Dmitriy

unread,
Jul 16, 2015, 11:42:23 AM7/16/15
to rubyonra...@googlegroups.com
i checked with 127.0.0.1.

nothing. 

четверг, 16 июля 2015 г., 17:27:45 UTC+3 пользователь Dmitriy написал:
Message has been deleted
Message has been deleted

Fernando Kakimoto

unread,
Jul 16, 2015, 12:20:42 PM7/16/15
to rubyonra...@googlegroups.com
Hi Dmitriy. 

Do you use background jobs to send emails? If so, you probably need to start them in development.

Take a look at your test/development.log and check if email is actually being sent. Maybe that should help figuring out the issue.

Cheers,
Fernando


On Thu, Jul 16, 2015 at 1:06 PM, Elizabeth McGurty <emcg...@gmail.com> wrote:
run gem list

On Thursday, July 16, 2015 at 12:04:30 PM UTC-4, Elizabeth McGurty wrote:
Ummm!  What's in your gemfile?



On Thursday, July 16, 2015 at 11:42:23 AM UTC-4, Dmitriy wrote:
i checked with 127.0.0.1.

nothing. 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7a788c3e-9eb5-47d1-a81c-117eeba8d359%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Hassan Schroeder

unread,
Jul 16, 2015, 12:54:32 PM7/16/15
to rubyonrails-talk
On Thu, Jul 16, 2015 at 7:27 AM, Dmitriy <d.bor...@gmail.com> wrote:

> In development.rb added:

> config.action_mailer.delivery_method = :smtp
> config.action_mailer.smtp_settings = { :address => "localhost", :port
> => 1025 }
> config.action_mailer.raise_delivery_errors = true

In development mode, the default is to *not* actually send mails, so
you need to change that:

config.action_mailer.perform_deliveries = true

HTH,
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote
Reply all
Reply to author
Forward
0 new messages