On Mon, Dec 29, 2008 at 9:05 PM, Mat <[email protected]> wrote: > > I try to use the MailParticipant class as shown on > http://docs.huihoo.com/rdoc/openwferu/classes/OpenWFE/MailParticipant.html. > > I add the following code in openwferu_participants.rb: > > # Send an email > $openwferu_engine.register_participant("send_email", > MailParticipant.new( > :smtp_server => "mail.example.com", > :from_address => "[email protected]", > :template => "Dear Mr ... > ")) > > I get this error message: > "uninitialized constant MailParticipant (NameError)"
Hi Mat, you'll find the original rdoc at http://openwferu.rubyforge.org/rdoc/ (http://openwferu.rubyforge.org/rdoc/classes/OpenWFE/MailParticipant.html) huihoo.com is a chinese mirror, but I don't know anything about the freshness of their info. You should replace "MailParticipant.new(" by "OpenWFE::MailParticipant.new(" so that your code sees the participant. I will make the documentation more explicit, thans for reporting. (http://rubyforge.org/tracker/index.php?func=detail&aid=23374&group_id=2609&atid=10195) Best regards and a happy new year, -- John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruote (OpenWFEru) users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
