Hello,

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)"

I also try to add: require 'vendor/openwfe/participants/
enoparticipants.rb' but I get the same message.

Any idea?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to