mirror of
https://github.com/ivabus/www
synced 2024-11-22 19:35:06 +03:00
don't need subscribe.php
Signed-off-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
f964ff502d
commit
21262a3a38
1 changed files with 0 additions and 31 deletions
|
@ -1,31 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
## CONFIG ##
|
|
||||||
|
|
||||||
# LIST EMAIL ADDRESS
|
|
||||||
$recipient = "tom@anchorpointcollective.com";
|
|
||||||
|
|
||||||
# SUBJECT (Subscribe/Remove)
|
|
||||||
$subject = "Subscribe";
|
|
||||||
|
|
||||||
# RESULT PAGE
|
|
||||||
$location = "https://tea.xyz";
|
|
||||||
|
|
||||||
## FORM VALUES ##
|
|
||||||
|
|
||||||
# SENDER - WE ALSO USE THE RECIPIENT AS SENDER IN THIS SAMPLE
|
|
||||||
# DON'T INCLUDE UNFILTERED USER INPUT IN THE MAIL HEADER!
|
|
||||||
$sender = $recipient;
|
|
||||||
|
|
||||||
# MAIL BODY
|
|
||||||
$body .= "Email: ".$_REQUEST['Email']." \n";
|
|
||||||
# add more fields here if required
|
|
||||||
|
|
||||||
## SEND MESSGAE ##
|
|
||||||
|
|
||||||
mail( $recipient, $subject, $body, "From: $sender" ) or die ("Mail could not be sent.");
|
|
||||||
|
|
||||||
## SHOW RESULT PAGE ##
|
|
||||||
|
|
||||||
header( "Location: $location" );
|
|
||||||
?>
|
|
Loading…
Reference in a new issue