similar to: What does EOFError mean in ActionMailer?

Displaying 20 results from an estimated 400 matches similar to: "What does EOFError mean in ActionMailer?"

2005 Jan 06
14
Announcing SoapBX.com a new Rails App for making presentations
I got an idea less than two weeks ago and now as a testament to the power of Rails I have released the first initial beta version of SoapBx, with less than 20 hours of programming involved so far. SoapBX is an application to create css based presentations and uses Erik Meyer''s cool S5 css and js code: http://www.meyerweb.com/eric/tools/s5/ With SoapBX you can use basic Textile and a
2006 Mar 09
1
ActionMailer Question -- can''t find email templates
I have a PageController that displays a form. The form is just straight HTML, I only used the form helpers for the form tag as so: -- <%= form_tag({:action => :send_request}, {:method=>:post, :name=>''childsplay''})%> -- In my page controller I have this: -- def send_request email = InfoMailer::deliver_sendrequest(params) end --- in my action mailer class I
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
2005 Dec 22
6
Scriptaculous and Prototype based Rich Text Editor
Hi Guys, I'm currently using the Dojo Rich text editor on my site https://wideword.net but am not 100% happy with it as I'm a prototype kind of guy. So I started writing this Rich Text Editor the other day on an experiment. I used the In Place Editor as a template for it and have gotten it to more or less work under IE and Gecko. Unfortunately it still isn't working on Safari ( The
2005 Nov 24
0
Safari document.getElementByClassName problem
Hi, I am having a problem under safari with the above mentioned method. In my example document I have something like the following: <div id="label_2" class="lab15">Q1</div> <div id="label_6" class="lab15">Q1</div> <div id="label_10" class="lab15">Q1</div> <div id="label_14"
2006 Jul 11
0
ActiveMailer HTML + Plain Text + Attachment?
How do you do this? Tried all the examples on the wiki, and unfortunately the trac is not accessible right now to check the trouble tickets. No matter what I do the mime structure seems to be incorrect. It seems that adding an attachment to a html+plaintext message is not possible using the standard methods. I have seen some old posting on the mailing list about overriding the deliver method
2006 May 05
1
ActionMailer with attachments, body is blank
I am trying to use the Rails Recipe for sending emails with attachments. However, when I add an attachment, my body fails to render. The resulting email has the attachment, but is blank otherwise. In the book, it mentions that this is "broken" in rails 1.0 and to upgrade to a newer version or edge rails. Well, I am running on 1.1.2 and it''s still happening. When I look
2008 Apr 09
1
Need help in passing parameters to a background job method
<backgroundrb-devel at rubyforge.org>I am trying to send email as a background process from within a Rails app. The goal is that when I go to http://mysite.com/foo/bar, the background job kicks in and sends an email out. The relevant code snippets are below. This errors out with a wrong number of arguments passed (2 for 1) message. I think I am making a mess of passing parameters to the
2006 Feb 02
1
actionmailer - No rhtml, rxml, or delegate template
I''m getting this error when I try to send an email. No rhtml, rxml, or delegate template found for signup_thanks But I do have signup_thanks.rhtml in app/view/notifier This is in the notifier model. class Notifier < ActionMailer::Base def signup_thanks(sent_at = Time.now) @subject = "the subject works!" @body["first_name"] = "first name"
2007 Nov 05
0
calling a method after deliver
Hi, I am trying to call a method after message is delivered via MyMailer.deliver_message. Is the below the same as this? MyMailer.deliver_message create_sent_record? class MyMailer < ActionMailer::Base def message( subject, body, recps, sent_at = Time.now) @subject =subject @body = body @recipients = recps @from =
2009 Jul 30
0
Problem with implicit multipart emails using ActionMailer in Rails 2.3.3
With earlier versions of Rails ActionMailer used to implicitly send multipart (text/plain and text/html) email messages for me, but it looks like now it''s sending two text/plain parts. Simplified details: Here''s my model: class Notifications < ActionMailer::Base def confirmation(sent_at = Time.now) @subject = ''Thank you for registering'' @body
2006 Jan 31
1
beta2: strange assert
Hi, My setup: Solaris 9, mbox format, mailboxes NFS mounted from another S9 system, imap. I got the following assert yesterday: Jan 30 19:57:15 emerald dovecot: [ID 107833 mail.error] imap(user): file index-mail-headers.c: line 258 (index_mail_parse_header): assertion failed: (part != NULL) Jan 30 19:57:16 emerald dovecot: [ID 107833 mail.error] imap(user): file index-mail-headers.c: line
2007 Apr 26
1
EOFError (End-of-File Error occured Error)
Hi Randomly I get the following error when users search EOFError (End-of-File Error occured at <except.c>:93 in xraise Error occured in compound_io.c:137 - cmpdi_read_i Tried to read past end of file. File length is <303> and tried to read to <351> ): what could be the problem? thanks -- Posted via http://www.ruby-forum.com/.
2007 Sep 14
1
Unable to scrap gmail.com - EOFError: End of file reached
Hi all, I am so excited to use mechanize! It has opened a whole new world of projects for me :) I am trying to login into the Gmail.com server, as described in http://schf.uc.org/articles/2007/02/14/scraping-gmail-with-mechanize-and-hpricot but am running into a few issues... irb(main):010:0> page = agent.submit form EOFError: end of file reached from
2006 Jun 28
0
catch EOFError in PaymentsController#finalListSave
Hi, When sending emails I am gaining a EOFError, I have figured out this was because rails running on my local machine was unable to connect to the required mail server. Is there a way of catching this error and warning the user what has happened? thanks Scott -- Posted via http://www.ruby-forum.com/.
2007 Dec 20
4
Ruby on Rails mailer
Today I made a first attempt to make use of ruby mailer. A volunteer fills out a form and the information is then sent to an administrator. I generated a mailer called notifier and added the following: class Notifier < ActionMailer::Base def volunteer_signup(volunteer, sent_at = Time.now) @subject = ''A new volunteer has signed up'' @body = { :title =>
2006 Aug 28
2
sysread': end of file reached (EOFError)
Hi, I am trying to access the gmail account through net/pop library.However, I have an error such that: c:/ruby/lib/ruby/1.8/net/protocol.rb:133:in `sysread'': end of file reached (EOFError) from c:/ruby/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill'' from c:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'' from c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'' from
2006 Feb 08
2
ActionMailer EOFError (sometimes)
I''m having problems sending emails sometimes using ActionMailer. Looks like some emails are never sent because something breaks when sending it. It is a small quantity but can''t even have one drop. Browsing through the list I saw that one person had the same error as I did but in his case he couldn''t send any emails and in the end he needed no authentication at all.
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 =
2006 Apr 19
2
Ferret EOFError creating index
I''ve been messing around with Ferret (no punn intended). After spending some time testing it out (indexing to file), I decided to index about 10% of the data I want to eventually index. It took several hours to complete the index on my local machine, but it was created without any problems and after optimising it the searches returned results at the sort of speed I was expecting. I