Tags:
create new tag
view all tags

Question

A co-worker wants to use a form to generate a new TWIki page . That's easy.

She would also like to send out an email to tell people the form has been submitted.

We have MailerContrib installed. Is that our best choice?

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- VickiBrown - 21 May 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

You should be able to use SendEmailPlugin. Add a hidden form field with name redirectto and script sendemail. For example:

<input type="hidden" name="redirectto" value="%SCRIPTURL{sendemail}%/%WEB%/%TOPIC%?from=me@someplace.com;to=you@elsewhere.com;subject=topic+created;body=topic+created..." />

But the email will also be sent if the user clicks Cancel.

-- ArthurClemens - 21 May 2007

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-05-21 - ArthurClemens
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.