Contact us gem rails

111 Views Asked by At

Using the "contact us", why does it not send the mail to my desired inbox. As can be seen below, it appears to send, it just does not get delivered to my inbox.

    Started POST "/contacts" for ::1 at 2016-03-09 23:01:01 +0000
Processing by ContactUs::ContactsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "contact_us_contact"=>{"name"=>"Niall", "email"=>"[email protected]", "subject"=>"Test ", "message"=>"Can anyone on stack overflow help me? "}, "commit"=>"Submit"}
  Rendered contact_us/contact_mailer/contact_email.html.erb (0.8ms)

ContactUs::ContactMailer#contact_email: processed outbound mail in 239.9ms

Sent mail to [email protected] (16.5ms)
Date: Wed, 09 Mar 2016 23:01:01 +0000
From: [email protected]
Reply-To: [email protected]
To: [email protected]
Message-ID: <[email protected]>
Subject: Test
Mime-Version: 1.0
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<p>Can anyone on stack overflow help me? </p>
<p>---------------------</p>
<p>Sent by Niall from [email protected]</p>

Redirected to http://localhost:3000/contacts/new
Completed 302 Found in 285ms (ActiveRecord: 0.0ms)


Started GET "/contacts/new" for ::1 at 2016-03-09 23:01:01 +0000
Processing by ContactUs::ContactsController#new as HTML
  Rendered contact_us/contacts/new.html.erb within layouts/application (1.0ms)
Completed 200 OK in 66ms (Views: 65.1ms | ActiveRecord: 0.0ms)

I get this output in the terminal but it's not sending the email to my account. I am running it locally.

0

There are 0 best solutions below