similar to: processing emails to extract HTML content? (is RubyMail or TMail right?)

Displaying 20 results from an estimated 1000 matches similar to: "processing emails to extract HTML content? (is RubyMail or TMail right?)"

2006 Feb 16
1
HABTM -VS- belongs_to/has_many, for self-referential joins
Ok, David says on page 241 that sometimes a many-to-many relation with attributes are better implemented as an actual model instead of using HABTM. Well, I''ve got that situation and I can''t figure it out. All of the examples in the book have HABTM examples between 2 different tables, but I want to have a HABTM relation on 1 table with itself. (e.g., if I have a table Things,
2006 May 02
2
Autotest doesn''t work on WinXP?
When I try to run autotest (zenspider) (which looks VERY cool), I get this error: (run from within a Rails app directory) C:\ruby_home\analysis>autotest -rails # Testing updated files + c:/ruby/bin/ruby -Ilib:test -e ''["test/unit/user_test.rb", "test/unit/role_test.rb"].each { |f| load f }'' | unit_diff -u ''c:'' is not recognized
2006 May 02
4
recommended setup of Mongrel_cluster + SSL for multiple apps?
I''d like to use Mongrel_cluster with SSL on a green-field application (it can be configured however is best - initially, "ease of setup" is important, but then soon after will be scaling and response time). I''ve read a lot of emails on this topic, and checked out the Mongrel pages, etc, but I''m left with this question of what is recommended: For a
2006 Mar 02
3
Modifying "Find" to always add a condition?
I''d like to always add a condition to any version of "find" (e.g. Thing.find(), Thing.find_by_name(), Thing.find_by_whatever) so that in addition to whatever conditions are set, an additional condition is set :conditions=>"user_id=#{current_user.id}" I''d like to make sure that a user only sees/edits/creates entries in the database that have the user_id
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
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
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
2005 Mar 24
0
TMail Broken
Since the the upgrade to Rail 0.11 TMail parsing is completely broken, We had managed to implement a parser to handle nearly all message in our Torture test. After the upgrade parsing is broken unless you are using the built-in receive and create method it appears. -- Lon
2008 May 25
0
TMail and logger
Hello, I''m the creator and ror developer of vipc.it, a photographic competition that works pretty well. I''ve created different releases and implemented different techniques to collect entries, from simple http to flex upload to manage big files (up to 5/6 mb), but every solution always had disadvantages: unresponsive server, user from many countries with old computers (problem
2007 Feb 24
1
Bug in TMail ?
I''m sending mails to a rails app, and I''m having a weird issue fetching the email.from header. I will paste the whole email and show what email.from returns. ####### Received mail: Return-Path: <nicholas.wieland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Delivered-To: unknown Received: from mail.tochunky.org (75.126.89.28) by adreadedsunnyday.local with POP3; 24 Feb
2006 Mar 21
0
is "Task" a reserved class name in Edge Rails? (it clashes with Rake''s Task)
Ok, so I''ll bet that lots of people would naturally have a DB table called "Tasks" and a model called Task, and this works fine in Rails 1.0. BUT, using Edge Rails things turn strange when you start visiting your Task pages because it thinks that you''re trying to use Rake (which also has a Task class). Is there any way around this? -Greg Greg Edwards CTO,
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__) +
2006 May 23
0
Does TMail support Nested Multipart Messages?
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: sample Type: application/octet-stream Size: 6906 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060523/c0e8fd84/sample.obj
2007 Nov 09
0
Problem with Actionmailer/TMail & decoding Apple Mail Attachments
Im having problems with Apple Mail and decoding attachments that are sent from it. I''m not 100% sure but I think it might have something to do with them being inline. I''m a bit stumped, I haven''t managed to find anything about this anywhere and just wondered if anyone had come up again this? def receive(email)... if email.has_attachments?
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
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
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