-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email bodies are blank #22
Comments
Thanks for sending this my way. I'll see if I can take a look at it in the next couple days. Depending on if you need API support or not you may also want to look at Coherence. |
Thanks! I was hoping it was just a configuration problem. I might go back to where the email is converted to html/text and see whether that's where it fails, will update here with what I find. |
I used iex to pry inside of email = Mailer.send_invite_email(updated_user, {confirmation_token, password_reset_token})
template = email.private.view_template
assigns = email.assigns
IEx.pry I noticed in the source for bamboo that the template is rendered this way So I did that used that to try the render, which gave the this stack-trace:
After looking in the Sentinel.RouterHelper.helpers.user_url(Sentinel.RouterHelper.endpoint, :invited) |
I was able to solve of that error by changing my invited path in my router from
|
@MatthewRDodds sorry about the delay, I haven't forgotten about this. My schedule has finally permitted me to take a look. I'm able to replicate the issue, and I'm working on a fix for it. Unfortunately as you can likely guess I don't have a timeframe on it just yet. |
No worries, thanks for the update @britton-jb! I ended up going ahead and writing my own app specific invite routine. Maybe it was something to do with my local configuration or implementation, in that case it might be good to close this for now and see if other people have trouble. |
Unfortunately this is definitely a bug that I need to fix and include a spec for, based on my testing. Thanks for letting me know, and I'm glad you were able to find a workaround in the meantime. |
Fixed in the v2 branch, which should have a 2.0.0 release in the coming week. |
Trying to use sentinel for invitations, I've been trying for quite awhile to get this working. At first the emails weren't sending at all, but I figured out the
send_emails
param and after setting that emails are sending but the email body is blank for both html and text formats.This is my config:
This is how I'm triggering it:
The text was updated successfully, but these errors were encountered: