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 have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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:
Topic revision: r2 - 2007-05-21 - ArthurClemens
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.