-
Notifications
You must be signed in to change notification settings - Fork 25
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
Mailer Class Works, Custom Mailer class does not unfortunately #44
Comments
I can't send the app i'm working on because of legal reasons, I can create a sample app if needed still, but I think I've traced my problem maybe to premailer, since its the css that is not working correctly |
I don’t want your app. I want the smallest possible thing that shows the
problem.
…On Thu, Jul 12, 2018 at 10:20 AM Justin Dunn ***@***.***> wrote:
I can't send the app i'm working on because of legal reasons, I can create
a sample app if needed still, but I think I've traced my problem maybe to
premailer, since its the css that is not working correctly
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADpYEG0FzS0AflcRzACI5RMSgKj5emxks5uF2kxgaJpZM4VNJtg>
.
|
Ok I've got 2 mailer classes:
|
I appreciate the issue, and I know i'm asking you to go to the extra mile, but I also own 52 published gems and it takes a LOT of time and effort every time I need to debug an issue. The one thing that helps speed up getting it fixed (if possible) is an app that works out of the box that shows the issue at hand. I need an example app, please. An app that is an example of what is going wrong with directions on how to run it. |
Closing for now if you have an example app let me know and we can come back to it https://www.codetriage.com/example_app |
I'm working on an application that has a regular mailer.rb file in the app/mailers directory, and also has a second mailer called notification_mailer.rb, which inherits from mailer class
class NotificationMailer < Mailer
When emails are sent through the normal mailer, the css is rendered inline into the layout like it should and the html rules are applied correctly. When emails are sent through the custom notification_mailer.rb, the css does not render inline to the html and no html is rendered, and the stylesheet tag is still in the header in the source on those emails, on the ones that rendered inline they did not.
The text was updated successfully, but these errors were encountered: