[pmwiki-users] ZAP mail problem

The Editor editor at fast.st
Mon Apr 30 16:51:35 CDT 2007


On 4/30/07, Hans <design5 at softflow.co.uk> wrote:
> Monday, April 30, 2007, 9:01:22 PM, Hans wrote:
>
> > Does ZAP has a global to set the message for a successful sending of
> > email?
>
> It appears that all the messages are hard-coded and can't be set by
> global variables. They also can't be internationalized.
>
> It would be good if ZAP allows setting of message content, and
> internationalizations.

See above.  Will change.

> Another thing I noticed:
> The example email form has a text box for "Subject", but anything
> enters there does not arrive in the email. The subject line a user
> enters should be inserted into the mail body text.
> The subject delivered in the email is set by emailsubject= in the
> form, which is good.

If you want to insert the subject in the email you can easily use
field replacements or insert it in the template. I don't know that
should be the default approach as some might not want it in both
places.

> So there is some confusion in the example form, as it mentions
> emailsubject twice, once as in
> (:zap emailsubject="Email from zap-test wiki":)
> and another time as in
> ||Subject: ||(:input text emailsubject size=40:)
> which does not get processed.
>
> Can you sort this Dan please?

Can you explain which example form you are talking about? It's not in
the source at http://www.fast.st/zapbeta/index.php?n=Snippets/Email  I
may have a typo somewhere else.  Generally though, POST values cannot
overwrite SESSION input values so in the above the first emailsubject
would rule.

Cheers,
Dan



More information about the pmwiki-users mailing list