End of file reached displaying while sending email in Jruby

Hi all,
while sending email in jruby 1.1.6 with rails 2.2.2 with tlsmail using
gmail.com as domain

Error: End of file reached error displaying but mail content is there in
log file

D:/jruby-1.1.6RC1/lib/ruby/gems/1.8/gems/jruby-openssl-0.3/lib/openssl/buffering.rb:237:in
close' D:/jruby-1.1.6RC1/lib/ruby/gems/1.8/gems/tlsmail-0.0.1/lib/net/smtp.rb:493:indo_start’
D:/jruby-1.1.6RC1/lib/ruby/gems/1.8/gems/tlsmail-0.0.1/lib/net/smtp.rb:440:in
start' D:/jruby-1.1.6RC1/lib/ruby/gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/base.rb:671:inperform_delivery_smtp’
D:/jruby-1.1.6RC1/lib/ruby/gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/base.rb:526:in
deliver!' D:/jruby-1.1.6RC1/lib/ruby/gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/base.rb:392:inmethod_missing’
app/controllers/emailer_controller.rb:8:in sendmail' :1:instart’

While using the same code in ruby on rails 2.2.2 working perfectly can
anyone give idea?

Thanks,
umamageshwari

while sending email in jruby 1.1.6 with rails 2.2.2 with tlsmail using
gmail.com as domain

Error: End of file reached error displaying but mail content is there in
log file
D:/jruby-1.1.6RC1/lib/ruby/gems/1.8/gems/jruby-openssl-0.3/lib/openssl/buffering.rb:237:in
close' ...................... :1:instart’
While using the same code in ruby on rails 2.2.2 working perfectly can
I have EXACTLY the same problem, and I suspect that there must be
something wrong with the sntp authentication. Am I correct, or there is
something else to it?

Hi Anait,

Can you try with more recent JRuby? 1.1.6 is very old. Since then,
there were about 3300 commits in JRuby repository. :slight_smile:

Thanks,
–Vladimir

On Wed, Mar 10, 2010 at 9:22 PM, Anait M. [email protected]
wrote:

something wrong with the sntp authentication. Am I correct, or there is


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

File a bug for this please…it looks like there’s probably a valid
issue.

And if you’re willing to help us a bit more, try building
jruby-openssl from scratch, since there have been fixes since 0.6.

On Wed, Mar 10, 2010 at 2:33 PM, Anait M. [email protected]
wrote:

wrote:
Here is a part of the call stack:
    from C:/Program Files/NetBeans


To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Vladimir S. wrote:

Hi Anait,

Can you try with more recent JRuby? 1.1.6 is very old. Since then,
there were about 3300 commits in JRuby repository. :slight_smile:

Thanks,
–Vladimir

On Wed, Mar 10, 2010 at 9:22 PM, Anait M. [email protected]
wrote:

something wrong with the sntp authentication. Am I correct, or there is


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I am using jruby-1.4.0 which comes bundled with NetBeans IDE, and I have
the same error as the previous person has described. It comes from
Net::Smtp.start.
Here is a part of the call stack:
Sending Test Subject to [email protected]
C:/Program Files/NetBeans
6.8/ruby2/jruby-1.4.0/lib/ruby/gems/1.8/gems/jruby-openssl-0.6/lib/openssl/buffering.rb:237:in
close': End of file reached (EOFError) from C:/Program Files/NetBeans 6.8/ruby2/jruby-1.4.0/lib/ruby/gems/1.8/gems/tlsmail-0.0.1/lib/net/smtp.rb:493:indo_start’
from C:/Program Files/NetBeans
6.8/ruby2/jruby-1.4.0/lib/ruby/gems/1.8/gems/tlsmail-0.0.1/lib/net/smtp.rb:440:in
start' from C:/Program Files/NetBeans 6.8/ruby2/jruby-1.4.0/lib/ruby/gems/1.8/gems/tlsmail-0.0.1/lib/net/smtp.rb:378:instart’
from C:/Automation/Mailinglist/lib/contact.rb:46:in send_email' from C:/Automation/Mailinglist/lib/mailing_list.rb:38:insend’
from C:/Automation/Mailinglist/lib/mailing_list.rb:38:in each' from C:/Automation/Mailinglist/lib/mailing_list.rb:38:insend’
from C:/Automation/Mailinglist/lib/main.rb:29

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs