<% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>

FS::msg_template::http example server.

NAME

FS::msg_template::http example server.

DESCRIPTION

This is an incredibly crude Mojo web service for demonstrating how to talk to the HTTP customer messaging interface in Freeside.

It implements an endpoint for the "password reset" messaging case which creates a simple password reset message using some template variables, and a "send" endpoint that just delivers the message by sendmail. The configuration to use this as your password reset handler would be:

prepare_url = 'http://localhost:3000/prepare/password_reset' send_url = 'http://localhost:3000/send' No username, no password, no additional content.

<% include ('/elements/footer.html' ) %>