I have the following htaccess:
RewriteRule ^test2$ home.php?ID=1 [NC] [L]
RewriteRule ^test2/News$ news.php?ID=1 [NC] [L]
RewriteRule ^test2/Contact$ contact.php?ID=1 [NC] [L]
RewriteRule ^test2/ContactSent$ send.php?ID=1 [NC] [L]
RewriteRule ^test3$ home.php?ID=4 [NC] [L]
RewriteRule ^test3/News$ news.php?ID=4 [NC] [L]
RewriteRule ^test3/Contact$ contact.php?ID=4 [NC] [L]
RewriteRule ^test3/ContactSent$ send.php?ID=4 [NC] [L]
RewriteRule ^test4$ home.php?ID=5 [NC] [L]
RewriteRule ^test4/News$ news.php?ID=5 [NC] [L]
RewriteRule ^test4/Contact$ contact.php?ID=5 [NC] [L]
RewriteRule ^test4/ContactSent$ send.php?ID=5 [NC] [L]
Now when I send an email using the php mail() on the /ContactSent page it sends 3 emails. Only one is composed correctly. How can I stop that?