similar to: ActionMailer Layout on HTML version not Plain Text

Displaying 20 results from an estimated 8000 matches similar to: "ActionMailer Layout on HTML version not Plain Text"

2009 Mar 26
1
Turning off the layout in ActionMailer?
So I''m happy to see that ActionMailer supports layouts now (it may have for a while, but I just now realized it). But I don''t see a way to turn them off selectively or by multipart type. For example, if I have a layout that''s really simple in "layouts/ email.html.erb": <div style="border:1px solid gray"> <%= yield %> </div> I
2012 May 06
3
ActionMailer Linode
Hi Guys, I created a mail server at Linode. I would like to configure my rails app to send mails using one of this mail accounts. Does anybody know any tutorial about how to do it? Thx Bruno Meira -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2006 Nov 04
1
ActionMailer Sending Two text/plain Parts
Hello ~ I have a working ActionMailer Action that takes the template to use as an argument so I have one action that handles multiple emails. The email sends just fine, and the correct email templates are used, but ActionMailer is throwing in its own text/plain section in addition to the one I specify. Does anyone have any ideas on why this might be occuring, when I am specificially specifying
2009 Mar 27
0
ActionMailer multipart: html, plain and attachment?
Has anyone gotten emails to work where you specify the HTML and the plain text alternatives, but also include an attachment? Reason I''m asking: I''m sending out event notices, styled as HTML but with a plain text alternative. I also want to attach the .ics file. For some reason, I can''t get this to work. If I explicitly put in "multipart/mixed" (to support the
2008 May 15
13
ANNOUNCE: act_as_soft_deletable - new rails plugin for soft deleting / disabling ActiveRecord models
Acts_as_soft_deletable is a rails plugin that provides the ability to soft delete or disable models. When models are destroyed, they will be archived so that they can later be restored easily. Its similar to acts_as_paranoid but uses a different approach that should make it a little more foolproof. See the README at the following url for a better description. github url:
2011 Mar 04
1
How to modify the template path for ActionMailer used in a Ruby script ?
I am testing a ruby 1.9.2 script (it''ll be run in a cron task later...) in which I am trying to use ActionMailer All my files are in a single folder ''joinus_email - joinus_email joinus_email.rb notifier.rb - notifications joinus_email.html.erb joinus_email.text.erb running the script joinus_email.rb, (in which I defined the
2010 Jan 25
1
ActionMailer does not find templates in production mode
Hello everyone, I am currently struggling with the following issue that only seems to appear in my production environment: When attempting to send a mail from an ActionMailer the template location algorithm does not seem to pick up the corresponding template: ActionView::MissingTemplate (Missing template event_mailer/approval_requested_notification.erb in view path app/views):
2009 Oct 31
3
1.9 Compat and merging mail gem into ActionMailer
Hi all of both RoR Core and TMail. You may know me better as the maintainer of TMail. However, TMail has been a bit difficult to get working with Ruby 1.9, so in the light of that, I sat down over the past few months and wrote myself an all encompasing mail gem. Mail passes all of its hundreds of specs equally well in Ruby 1.8.6, 1.8.7 and 1.9.1. Mail reads every email in the TMail test suite
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format. By default my application is using forgot_password_en.rhtml template. I read in the ROR Recipes book "ActionMailer sees these templates, recognizes the pattern in their file names, and automatically sets the MIME type of the message to multipart/alternative and adds
2010 Mar 26
6
installing ActionMailer from Rails 3?
Hi I''d like to use the new ActionMailer that comes with Rails 3, for a email reminder program I am writing. I am pretty new to Ruby, and would like to know how I can gem install this pre-release version, so I can start using it. Thanks for the help :) Alex -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups
2008 Jun 10
7
ActionMailer undefined method `parameters' - Rails 2.1
Hello Rubyists, I''m currently trying to get email hooked up via ActionMailer, and while I''ve gotten it to work in the past on Rails 1.2.x, I''m seeing an error that I''m unfamiliar with. Right now, I''m just trying to send email from my dev box via the SMTP server at work. My development.rb file: #...snip config.action_mailer.delivery_method = :smtp
2008 Apr 16
3
Linking to "Next Entry >>" from the current Entry Page
Hi all, I''m trying to link to the "Next Entry >>" from the current entry page (in show.html.erb). Any one know how I would do it? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2008 Oct 25
7
Routing of result not clear in ActionMailer
Dear all, I am trying to understand the following behaviour of the ActionMailer in Rails 2. I have an emailer_controller.rb class EmailerController < ApplicationController def send_mail Emailer::deliver_contact_email(params[:email]) end end I have a model emailer.rb class Emailer < ActionMailer::Base def contact_email(email_params, sent_at = Time.now) @recipients =
2009 Mar 02
1
ActionMailer
i have this in my mdel infomailer.rb class Infomailer < ActionMailer::Base helper :application end but i can''t understand why i can''t use method defined i application_helper.rb in template app/views/infomailer/send_order.html.erb please help -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because
2009 Feb 26
1
Line breaks removed from ActionMailer template
I''ve been googling and searching this list for about an hour now, and maybe I''m just not thinking of the common nomenclature for what to be looking for, but I can''t find jack. Here''s the deal: I''ve got an application coded correctly, sending the mail out, and the template is structured correctly (method_name.erb is the filename) with LF line breaks
2010 Jun 13
2
Rails 3, ActionMailer and urls (ampersand encoding)
In Rails 2, if I used an url in a plain text message it was sent as is, but it seems to be changed in Rails 3. The url http://ab.cd/ef?g=1&h=2 seems to be now translated to http://ab.cd/ef?g=1&amp;h=2 even if the message is plain text. Is it correct? I''ve written my tests previously considering it should not be encoded in plain text messages and these tests are failing when
2006 Mar 05
5
DreamHost and ActionMailer
I''m getting ready to sign up with DreamHost, but my application is missing the ActionMailer features. First, can anyone provide some real code to send an email upon comment submission? Second, is it easy to setup ActionMailer on a DreamHost server? Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Aug 09
3
Can''t update actionmailer gem?
Trying to update actionmailer gem, and it''s complaining about the version of actionpack not being correct. C:\eclipse\workspace>gem update actionmailer Updating installed gems... Attempting remote update of actionmailer Install required dependency actionpack? [Yn] Y ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find actionpack (= 1.12.4) in the repository
2006 Jan 24
9
ActionMailer: Mail isn''t delivered
Hi all I used the search for this, but I got an Application Error, so sorry for the newbie question. I have tried to send an e-mail using ActionMailer. I have to following config (environment.rb): ActionMailer::Base.server_settings = { :address => "mail.psyguide.org", :port => 25, :domain => "mail.psyguide.org", #:authentication => :login, #:user_name
2006 Mar 14
1
ActionMailer Error - Please Help!
I''m trying to send an email to myself when someone comments on my site. Here''s my code, if you don''t mind, could you tell me if you see something wrong? #environment.rb # Include your application configuration below ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :domain =>