Devise

22 views
Skip to first unread message

David Merrick

unread,
Feb 25, 2019, 2:18:49 AM2/25/19
to Ruby on Rails: Talk
How many Rails Developers use Devise? How many of you have successfully incorporated mail in Devise.

I am having trouble incorporating mail into Devise.

Does anyone know how to do this with Rails 5.2.2?

Cheers Dave

Hasan Diwan

unread,
Feb 25, 2019, 3:39:05 AM2/25/19
to rubyonra...@googlegroups.com
On Sun, 24 Feb 2019 at 23:19, David Merrick <merri...@gmail.com> wrote:
Does anyone know how to do this with Rails 5.2.2?

Not having done this myself, but I did find a test[1] that sends the confirmation emails. Hope that helps, Dave. -- H
--
If you wish to request my time, please do so using bit.ly/hd1AppointmentRequest.
Si vous voudrais faire connnaisance, allez a bit.ly/hd1AppointmentRequest.

Sent from my mobile device
Envoye de mon portable

Rob Jonson

unread,
Feb 25, 2019, 4:40:24 PM2/25/19
to Ruby on Rails: Talk
What problem are you having?
I have always found it worked pretty much out of the box (assuming you have set up your mail config)

David Merrick

unread,
Feb 25, 2019, 4:56:32 PM2/25/19
to Ruby on Rails: Talk
Hi Rob at the moment only the password reset email works. Are you able to check them please?

Password reset

<p>Hello <%= @resource.email %>!</p>

<p>Someone has requested a link to change your password. You can do this through the link below.</p>

<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>

<p>If you didn't request this, please ignore this email.</p>
<p>Your password won't change until you access the link above and create a new one.</p>

Confirmations dosen't

<p>Welcome <%= @email %>!</p>

<p>You can confirm your account email through the link below:</p>

<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>

Email changed doesn't

<p>Hello <%= @email %>!</p>

<% if @resource.try(:unconfirmed_email?) %>
  <p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>
<% else %>
  <p>We're contacting you to notify you that your email has been changed to <%= @resource.email %>.</p>
<% end %>

Cheers Dave

On Tue, Feb 26, 2019 at 10:40 AM Rob Jonson <rob.j...@gmail.com> wrote:
What problem are you having?
I have always found it worked pretty much out of the box (assuming you have set up your mail config)

--
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/8481c189-06b0-4068-8716-587518893cd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Dave Merrick

Daves Web Designs

Website http://www.daveswebdesigns.co.nz

Email merri...@gmail.com

Ph   03 216 2053

Cell 027 3089 169

Walter Lee Davis

unread,
Feb 25, 2019, 5:04:06 PM2/25/19
to rubyonra...@googlegroups.com
What do the errors look like? When you say it doesn't work, what exactly are you seeing?

Walter
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKaCp1hGMDa_pz__x7aUiu3H7VMZjmcwHdZMdUMgKeMeqw%40mail.gmail.com.

David Merrick

unread,
Feb 25, 2019, 10:32:23 PM2/25/19
to Ruby on Rails: Talk
I don't see any errors in the logs. No errors are displayed sorry


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

Colin Law

unread,
Feb 26, 2019, 4:11:25 AM2/26/19
to Ruby on Rails: Talk
On Tue, 26 Feb 2019 at 03:32, David Merrick <merri...@gmail.com> wrote:
>
> I don't see any errors in the logs. No errors are displayed sorry

Well what *do* you see in the logs when you click the link. Comparing
it with the one that does work might give you a clue.

Colin

David Merrick

unread,
Feb 26, 2019, 4:16:52 AM2/26/19
to Ruby on Rails: Talk
Ok thanks

--
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.

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

David Merrick

unread,
Feb 26, 2019, 8:14:31 PM2/26/19
to Ruby on Rails: Talk
Hi Colin. Attached are some files

On Tue, Feb 26, 2019 at 10:11 PM Colin Law <cla...@gmail.com> wrote:
--
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.

For more options, visit https://groups.google.com/d/optout.
pininterestdaveConfirmation.txt
reset_password_instructions.html.erb
confirmation_instructions.html.erb
pininterestpasswordReset.txt
Reply all
Reply to author
Forward
0 new messages