Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
OpenXPKI::Server::NotiUsertContributed)OpenXPKI::Server::Notification::Base(3)

Name
       OpenXPKI::Server::Notification::SMTP - Notification via SMTP

Description
       Base class for all notifications	handlers.

Functions
   notify({ MESSAGE, VARS, TOKEN })
       Public method to	be called to send out a	notification.  must be
       implemented in the parent class,	expects	the name of the	message	and a
       hashref to the template vars.  TOKEN is optional	and exchanges
       persisted information for this handler with the workflow.  If the
       method returns a	non-empty value, it is persisted back into the
       workflow.

   _render_template_file( FILENAME, VARS )
       Read template form filename and render using TT.	 Expects path to the
       template	and hashref to the vars.  returns the template with vars
       inserted	as string.  If path is relative, it is prefixed	with template
       dir.

   _render_template ( TEMPLATE,	VARS )
       Render a	template using TT.  Expects template string and	hashref	to the
       vars.  returns the template with	vars inserted as string.

perl v5.32.0			  2020-OpenXPKI::Server::Notification::Base(3)

Name | Description | Functions

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=OpenXPKI::Server::Notification::Base&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help