put return address on email
authorcommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>
Thu, 21 May 2009 11:59:43 +0000 (11:59 +0000)
committercommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>
Thu, 21 May 2009 11:59:43 +0000 (11:59 +0000)
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@35 d4452222-2f33-11de-9270-010000000000

database.php
motion.php
proxy.php
vote.php

index be20eb0..07f3318 100644 (file)
@@ -74,9 +74,9 @@ Kind regards,
 the voting system.
 
 BODY;
-                                       mail($board,"Re: ".$decision['tag']." - ".$decision['title'],$body);
+                                       mail($board,"Re: ".$decision['tag']." - ".$decision['title'],$body,"From: Voting System <returns@caert.org>");
                                }
                        }
                }
        }
-?>
\ No newline at end of file
+?>
index 515e25c..60cfb0d 100644 (file)
@@ -81,7 +81,7 @@ again.
 Kind regards,
 the voting system
 BODY;
-                                       mail($board,"Re: $tag - $title",$body);
+                                       mail($board,"Re: $tag - $title",$body,"From: Voting System <returns@caert.org>");
                                } else {
                                        ?>
                                        <b>The motion has NOT been proposed!</b><br/>
@@ -136,7 +136,7 @@ Abstain: $voteurl&vote=0
 Kind regards,
 the voting system
 BODY;
-                                       mail($board,"$tag - $title",$body);
+                                       mail($board,"$tag - $title",$body,"From: Voting System <returns@caert.org>");
                                } else {
                                        ?>
                                        <b>The motion has NOT been proposed!</b><br/>
index 77bcc89..6d4731f 100644 (file)
--- a/proxy.php
+++ b/proxy.php
@@ -83,7 +83,7 @@ Kind regards,
 the vote system
 
 BODY;
-                                               mail($board,"Re: $tag - $title",$body);
+                                               mail($board,"Re: $tag - $title",$body,"From: Voting System <returns@caert.org>");
                                        } else {
                                                ?>
                                                <b>The vote has NOT been registered.</b><br/>
index b357cf1..f2445c0 100644 (file)
--- a/vote.php
+++ b/vote.php
@@ -67,7 +67,7 @@ Kind regards,
 the vote system
 
 BODY;
-                                                               mail($board,"Re: $tag - $title",$body);
+                                                               mail($board,"Re: $tag - $title",$body,"From: Voting System <returns@caert.org>");
                                                        } else {
                                                                ?>
                                                                <b>Your vote has NOT been registered.</b><br/>
@@ -104,4 +104,4 @@ BODY;
                        }
                ?>
        </body>
-</html>
\ No newline at end of file
+</html>