Top "Actionmailer" questions

Action Mailer is a framework for designing email service layers.

How to send emails with multiple, dynamic smtp using Actionmailer/Ruby on Rails

I saw this post but mine is slightly different: Rails ActionMailer with multiple SMTP servers I am allowing the users …

ruby-on-rails smtp actionmailer
undefined method `before_action' for ActionMailer

Trying to attach file to mail via before_action filter: class UserMailer < ActionMailer::Base before_action :add_logo_attachment …

ruby-on-rails-3 actionmailer before-filter
Rails - URL helpers not working in mailers

I tried: class MyMailer def routes Rails.application.routes.url_helpers end def my_mail @my_route = routes.my_helper ... …

ruby-on-rails actionmailer urlhelper
ActionMailer pass local variables to the erb template

I know I could define instance variables e.g: def user_register(username, email) @username = username @email = email mail(:to =&…

ruby-on-rails ruby actionmailer erb local-variables
How to use multi-threading in rails 3?

I am sending mail to the users using actionmailer through postmark. This is my code in controller: @users = User.where(…

multithreading ruby-on-rails-3 actionmailer postmark
Rails 4 ActionMailer with gmail Net::SMTPAuthenticationError: 534-5.7.14

I am trying to send an email in development version of my app. Nothing I am doing is working. I …

ruby-on-rails email ruby-on-rails-4 gmail actionmailer
undefined method `name' for "actionmailer":String

I've an old version of Rails project which was built using BrowserCMS in the config/environment file RAILS_GEM_VERSION = …

ruby-on-rails ruby rubygems actionmailer browsercms
Testing ActionMailer multipart emails(text and html version) with RSpec

I'm currently testing my mailers with RSpec, but I've started setting up multipart emails as described in the Rails Guides …

ruby ruby-on-rails-3 rspec actionmailer multipart
How can I send emails in Rails 3 using the recipient's locale?

How can I send mails in a mailer using the recipient's locale. I have the preferred locale for each user …

internationalization ruby-on-rails-3 actionmailer
ActionMailer sending real emails in test mode! - How to turn off?

Newly signed up users to my little app must be approved by the admin (me) before they can gain access …

ruby-on-rails-3 actionmailer rspec-rails sendgrid