Displaying 20 results from an estimated 3000 matches similar to: "Re: sending personalized emails efficiently"
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
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
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
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 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 Oct 13
0
Does ActionMailer support multiple configurations? Can an ActionMailer child class define a custom configuration?
Hello,
I read that the ActionMailer configuration should be set in the
environment.rb file (See http://am.rubyonrails.com/ and page 399 in the PP
Rails Book).
In my case, I have a customer rep admin application that administers
multiple websites. One of the features involves emailing the login info for
new subscribers that that sign up for the websites by mail.
I would like to use the
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
2006 May 24
0
processing emails to extract HTML content? (is RubyMail or TMail right?)
I need to extract the main body from an HTML email - or - strip all of the
email related stuff out of an email leaving just the HTML code that is in
the body (ideally, so that it could be saved as an HTML page that is ready
to show in a browser). Has anyone had success doing something like this?
I''ve found RubyMail and TMail that purport to help with this, but was
wondering if anyone had
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello,
I have a gentoo system that I am trying to remotely develop rails
applications on using apache and fcgi. I created the simple hello world
example from Dave Thomas'' book to test the system and I receive an
"application error" when I try to go to the page. I can startup webrick
and use links to view the page just fine, but nothing doing through
apache.
I have
2018 Nov 29
0
Problem to connect to APC SC1500
Hello,
I am not able to get NUT working with a APC SC1500.
The ups has only a serial port and came with a 940-0272a serial to usb cable. The cable has a fake Prolific chip in it, so only works by downgrading the driver to version 3.2. I tested a 940-0024C cable without success as well.
The ups works with powerchute and apcupsd with the 940-0272a cable. Have not tested it with the other one.
OS:
2000 Dec 14
2
Accuracy problem in dchisq for non-central chi-squared
Hi,
I think I have identified a inaccuracy in dchisq when the non-centrality
parameter is non-zero and large. Here's a little test:
sys.dchisq.test <- function(N = 100000,mean = 0)
{
z <- rnorm(N,mean = mean, sd = 1)
x <- z^2
xmin <- min(x)
xmax <- max(x)
br <- seq(xmin,xmax,length = 101)
dbr <- br[2]-br[1]
hist(x,br)
p <- dchisq(br,df = 1,ncp =
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
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 Oct 22
1
Can't figure you why I am getting deliver_from == Nil Using EmailSpec
Using EmailSpec, I am testing the format of emails sent from an observer.
I can verify the deliver_to address, the bcc_to address, and that the
message body has the appropriate text.
However, when I test the deliver_from, I am getting an error saying my
deliver_from is nil, though when I follow the same steps in development, an
email is sent with the appropriate from address. This is the
2006 Jan 28
0
How to get email body in plain/text
Hi, all.
I have a very simple Mailer class
class AliasMailer < ActionMailer::Base
def receive(email)
puts email.body
end
end
And I have problem here with TMail::Mail object that I received via
receive() function.
I am trying to get body of the mail but I have following text
Hello\r\n\r\n--\r\n\r\n\r\nHello<br clear=\"all\"><br>-- <br>h
for mail that have
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 Feb 04
1
Issues with sending HTML email
Hello,
I am using the SaltedLoginGenerator. Everything is working fine except the e-mail is being sent out as text instead of text/html. I have tried changing the Content-Type to text/html but to no avail.
I even tried changing the Content-Type in tmail/facade.rb but it didn''t help.
What am I missing? How can I get ROR to send a HTML email.
Thanks
Frank
2006 May 25
4
Does TMail support Nested Multipart Messages? (Repost)
Hi,
does anybody know if TMail supports nested multipart messages? I read
a changelog that indicates so
(http://dev.rubyonrails.org/svn/rails/trunk/actionmailer/CHANGELOG), but
I haven''t been able to get it working so far.
Maybe I am doing something wrong here?
I attached the sample mail. Here is the code to parse it:
require File.dirname(__FILE__) +