similar to: Understanding ActionMailer::Base.new

Displaying 20 results from an estimated 6000 matches similar to: "Understanding ActionMailer::Base.new"

2006 Aug 04
1
[Info] TMail included in ActionMailer differs from ''normal'' TMail
Issue: Just to hopefully save someone else a bunch of fun in the future - a modified version of TMail is automatically installed with Rails in the ActionMailer module. This version of TMail (which is required in your rails environment by convention) differs significantly from the package available at: http://i.loveruby.net/en/projects/tmail/ (Second hit on Google for
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
2005 Mar 29
0
ActionMailer tmail/quoting.rb problem
Hi, Why did you allow this incompatibility? ;) * fixtures/notifications/signup: _foo @expected.body = read_fixture(''signup'') p @expected.body #=> " foo\n" # because text.gsub(/_/," ") If you enhance TMail::Mail#body like this, I want you to convert mail.body code in render_body. My mailer code now: # topic is a ActiveRecord instance. topic
2009 Dec 30
3
Mail now in ActionMailer
OK everyone, so we finally have Mail merged into ActionMailer replacing out TMail This is for the 3.0 release, and not part of the 2.x tree. I am the TMail maintainer and I decided this year to write a ruby email handler, the Mail gem is my solution to this. Mail takes a very object oriented approach to email. It conforms to RFCs as closely as practical and parses the 0.5gb Trec and 2.5Gb
2009 Dec 30
3
Mail now in ActionMailer
OK everyone, so we finally have Mail merged into ActionMailer replacing out TMail This is for the 3.0 release, and not part of the 2.x tree. I am the TMail maintainer and I decided this year to write a ruby email handler, the Mail gem is my solution to this. Mail takes a very object oriented approach to email. It conforms to RFCs as closely as practical and parses the 0.5gb Trec and 2.5Gb
2006 Aug 06
0
how to diagnose ActionMailer issues
I''m a bit new on RoR so I might have missed something. I''ve just installed SaltedHashLogin and even though it works with no issues, it sends no emails. But I don''t get any errors at all! I''ve tried the method via the console: UserNotify.deliver_signup(User.new,"","") and I get the following: #<TMail::Mail
2009 May 06
1
How to extend ActionMailer
I wish to extend ActionMailer::Base by method chaining a class instance variable: module ActionMailer class Base class << self def method_name ... What is the magic incantation to accomplish this? I cannot get this to work with action mailer: module MyMethods def self.include(base) base.alias_method_chain :method_name, :my_method def
2006 Jul 05
1
TMail + Receing mail and extract attachments
Hi guys, I have a hard time with action mailer and TMail, I always get the following error... My code: << pop = Net::POP3.new(''pop.mydomain.com'') pop.start(''xxx'', ''xxxxx'') # (1) if pop.mails.empty? puts ''No mail.'' else i = 0 pop.each_mail do |m| # or "pop.mails.each
2007 May 29
0
specs for ActionMailer
Hi, Email notifications are an important part of my app and I would like to spec them. Here''s what I have going so far. It seems to work. I''d appreciate comments/suggestions. Rails script/generate mailer produces tests for the email contents etc. I''ve started by manually converting the generated unit tests to rspec, and then changing/adding examples as I
2006 Nov 29
1
actionmailer on Debian Etch
Hello, I have two debian etch systems, both have rails. I have installed them with apt, not gems. No problems so far. Now I have tried to use the actionmailer. The results: mage@miranda:~/temp$ rails mailer create create app/controllers [....] create log/test.log mage@miranda:~/temp$ cd mailer mage@miranda:~/temp/mailer$ script/generate mailer Letter test send
2006 Mar 29
1
ActionMailer - Message-id issue
Whenever I send e-mails through rails, part of the header comes out as follows: From: johndoe@domain1.com To: janedoe@domain2.com Message-Id: <442aba6514d50_154f7ba03530@iMac.local.tmail> With Outlook 2003 SP2''s new "anti-phishing" feature, it''s tagging all of these e-mails as junk. I tried sending the same content from my mail software, using the same
2009 Apr 09
1
Mailing error in Rails 2.3.2
Hi, My mails were working with the earlier version of rails ie. Rails 2.0.2. But recently when i upgraded my environment to 2.3.2 the mails stopped working and gave "Error: End of file reached". But if i send mails independent of my rails app the mailing code works fine. My Environment: Windows Xp Ruby 1.8.7 actionmailer (2.3.2) actionpack (2.3.2) activerecord (2.3.2) activeresource
2005 Mar 09
8
How to set ''Return-Path'' in ActionMailer to avoid SPF failure?
I was wondering if there was any way to set the ''Return-Path'' of an email when using ActionMailer. Without the ability to set the ''Return-Path'' of an email, it is impossible to avoid being labeled as ''spam'' by many SMTP gateways if trying to send mail on another''s behalf. SPF doesn''t care about the
2006 Feb 12
0
Re: sending personalized emails efficiently
Hi Tom, I noticed this message from you saying that you can use ActionMailer to efficiently do high volume mailing systems. I need to create something that mails out once a day to all my users status updates. But I must admit I don''t see how you can make ActionMailer do all these efficiences you state since it''s API is so limited. Specifically I don''t see how to NOT
2005 Feb 11
1
adding attachment to ActionMailer
Is it possible to add an attachment and send it with ActionMailer?
2011 Feb 15
0
How to set content_transfer_encoding to something other than quoted-printable?
Hi all, How do I set the content_transfer_encoding for mail with actionmailer to something other than quoted-printable? It''s a setting with TMail which action mailer relies on in rails 2.3.*. I am trying to set it to utf8 I have tried: - mail = TMail::Mail.new; mail.transfer_encoding = "utf8"; - setting the @header["Content-Transfer-Encoding"] in the
2005 Dec 19
0
Re: Rails Digest, Vol 15, Issue 392
Peter Bohm wrote: > which way do you send the email? Using the raw TMail object as described > in the HowToSendMimeMultipartEmailsWithActionMailer? Can you post some code? I''ll describe the problem in a bit more detail, and then will describe what I did to solve it. The site I''m working on wanted to send an acknowledgment to people using our e-commerce site. The message
2006 Oct 06
2
how to set the ‘Return-Path’ header in ActionMailer
how to set the ‘Return-Path’ header in ActionMailer. regards -- 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 email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group,
2011 Dec 14
7
Actionmailer woes
hi Guys I have now spent hours on this and turn to you in desperation. I am using Actionmailer to fetch emails, but I need to pass a userid to the receive method, so that the receive method knows what user to pass the email to. I tried: (ATTEMPT 1) class PokeMailer < ActionMailer::Base def receive(email,userid) ... end I then invoke the receipt of email with task =
2005 Mar 22
9
am i the only one with this problem?
(clean install) >gem install rails Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Install required dependency activesupport? [Yn] y Install required dependency activerecord? [Yn] y Install required dependency actionpack? [Yn] y Install required dependency actionmailer? [Yn] y