Surendra Singhi
2006-Jul-23 18:41 UTC
[Tiny Patch Actionmailer] checks if content-type exists before checking main type
Hello, Since the Trac is down and it is not possible to create new tickets. I am dropping off the patch here. In action-mailer while checking if a part has an attachment, the content-type''s main-type is compared. But before calling main-type it has to be ensured whether content-type exists, otherwise it will throw an exception. Many mail clients for example (gnus) don''t set content-type for text/plain parts. Thanks. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | "All animals are equal, but some animals are more equal than others." | -- Orwell, Animal Farm, 1945 `---- _______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core