On Mon, Oct 27, 2008 at 12:08 PM, Martin <[EMAIL PROTECTED]> wrote:
>
> The message hardcoded in the mail function should be a message
> variable:
>
> if ($mailmode == active) {
> mail("$to", "$subject", "$body", "From: $from");
> return "Mail sent to $to.";
> }
> else return "Mail is in demo mode. Mail sent to $to from $from.
> Subject: $subject. ";
Actually, functions generally output their messages directly to the
page, while forms direct their output to the messaging system. This
could be changed--but you will notice no other functions in
functions.php tap into $msg.
If used as a form, the function output is currently input into the
messaging system, but it would not work well with
internationalizations and the like, because of how customized each
message would be.
Unfortunately to modify this, the best approach might be to create a
slightly modified version of the mail function/command in a config.php
file. ie: BOLTFmymail...
Cheers,
Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---