16 lines
790 B
PHP
16 lines
790 B
PHP
<?php
|
|
if(isset($_POST["urls"]))
|
|
{
|
|
$to_email = 'tytd@tesses.net';
|
|
$subject = 'Anonymous Email';
|
|
$headers ='Content-Type: text/plain';
|
|
mail($to_email,$subject,$_POST["urls"],$headers);
|
|
echo '<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Success</title></head><body><h1>Success</h1><a href=".">Click here</a> to return</body></html>';
|
|
}
|
|
else{
|
|
echo '<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Failure</title></head><body><h1>Failure</h1><a href=".">Click here</a> to return</body></html>';
|
|
}
|
|
|
|
?>
|
|
|