X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fmailing_list_send.ml;h=623cfff98b37aa5913dcabc57b68c63cb8340e1b;hb=295f2cde3f43ccf7f775d39b95925e10aa4c37cb;hp=5974e13e553382d246b08ef6fdb8a80c3e15a6b2;hpb=fed8bae623ae58ec83206e53be5eb7ed119ce875;p=cocanwiki.git diff --git a/scripts/mailing_list_send.ml b/scripts/mailing_list_send.ml index 5974e13..623cfff 100644 --- a/scripts/mailing_list_send.ml +++ b/scripts/mailing_list_send.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: mailing_list_send.ml,v 1.4 2004/10/04 15:19:56 rich Exp $ + * $Id: mailing_list_send.ml,v 1.5 2005/03/31 14:24:04 rich Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -87,7 +87,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid { hostname = hostname } _ = let body = template#to_string in let subject = "Site notice: " ^ hostname ^ ": Confirm your email address" in - Sendmail.send_mail ~subject ~body ~to_addr:[email] (); + Sendmail.send_mail ~subject ~to_addr:[email] body; (* Finish up. *) let buttons = [ ok_button "/" ] in