August 15, 2007, 02:25 PM
mgrackinSITE.WFS trigger to send an email
Here's one for those of you who have customized your SITE.WFS file.
I was wondering if it is possible to trigger an email to be sent to an email address from the SITE.WFS file. I have not done any experimenting yet but I was wondering if anyone has done something like this or had ideas.
I want to do this because there are certain restrictions I have setup by using the scripting language in the SITE.WFS file. I want to trigger an email warning to the WebFOCUS administrator if a request is received but is denied due to not getting past a particular restriction.
Any ideas?
August 15, 2007, 02:40 PM
dhagenIf you get your hands on the security manual, you could build a security plug-in in Java that will allow you to email. You could then call your Java method from within the site.wfs to send the email.
I'm sure there are a bunch of other ways, but that was came to mind first.
August 15, 2007, 03:06 PM
mgrackindhagen,
Thanks for the idea. I have been looking through the security manual and see the <CALL> tag listed. Of course, to write a java plug-in you need to know java.
I have been wanting to dig deeper into java but just haven't been able to do it yet.