Cesto
Limpar cestoTotal:
Allows to send e-mails through an e-mail form.
You should use {sendemail} macro as form action, it will be expanded as:
Subject of message.
(default: ‘New mail’)
Body of message.
(required)
Target address. Accepts multiple addresses separated by comma.
(required)
Each other params in HTML form will compose message body in a format “key: value”
<form action='{sendemail}' method='post'> To: <input type='text' name='to'/> Subject: <input type='text' name='subject'/> Message: <input type='text' name='message'/> <input type='submit'/> </form>
Ajax is supported using #ajax-form as id of HTML form.
Example:
<form action='{sendemail}' id='ajax-form'> To: <input type='text' name='to'/> Subject: <input type='text' name='subject'/> Message: <input type='text' name='message'/> <input type='submit'/> </form>
This plugin was inspired by Foswiki SendEmailPlugin