master
Joey Hess 2008-07-26 14:56:10 -04:00
parent d3f600c54b
commit cd029da493
1 changed files with 3 additions and 1 deletions

View File

@ -279,7 +279,9 @@ sub formbuilder (@) { #{{{
error($@) if $@;
sendmail(
To => IkiWiki::userinfo_get($user_name, "email"),
From => "$config{wikiname} admin <".(defined $config{adminemail} ? $config{adminemail} : "")>",
From => "$config{wikiname} admin <".
(defined $config{adminemail} ? $config{adminemail} : "")
.">",
Subject => "$config{wikiname} information",
Message => $template->output,
) or error(gettext("Failed to send mail"));