Hopbot log for 2008-07-17 - Helma IRC channel: #helma on irc.freenode.net

2008-07-17:

[20:30] <pi31415> I can't get javamail to work w/in rhino
[20:53] <zumbrunn> pi31415, you know about helma.Mail, right?
[20:53] <zumbrunn> http://helma.zumbrunn.com/reference/helma.Mail.html
[20:54] <zumbrunn> what are you trying to use?
[20:54] <zumbrunn> the global Mail object?
[20:54] <zumbrunn> or helma.Mail?
[20:54] <zumbrunn> or javamail directly?
[20:54] <pi31415> zumbrunn: i am using the latest rhino release. i was hoping to rewrite some sysadmin scripts in javascript on the linux servers.
[20:54] <pi31415> zumbrunn: this is not web stuff
[20:55] <zumbrunn> well, maybe the helma.Mail source helps:
[20:55] <zumbrunn> https://dev.helma.org/trac/helma/browser/apps/modules/trunk/helma/Mail.js
[20:56] <zumbrunn> (uses javax.mail)
[20:57] <pi31415> This is the part that hangs up for me: var session = Session.getInstance(props)
[20:59] <zumbrunn> are you sure the smtp is accepting the connections?
[20:59] <pi31415> yes, the javamail example works
[20:59] <pi31415> when run directly in java
[20:59] <zumbrunn> hmm, dunno then
[21:00] <zumbrunn> it just hangs? no error?
[21:01] <pi31415> uncaught JavaScript runtime exception: TypeError: Cannot call property getInstance in object [JavaPackage javax.mail.Session]. It is not a function, it is "object".
[21:03] * zumbrunn can't think of anything obvious

 

 

In the channel now:

Logs by date: