Guest User

PHP-Skript

a guest
Nov 11th, 2018
629
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $to = $argv[1];
  3. $subject = "PHP Test mail";
  4. $message = $argv[2];
  5. $from = "mir@raspberry.de";
  6. $headers = "From:" . $from;
  7. mail($to,$subject,$message,$headers);
  8. echo "Mail Sent.\n";
  9. ?>
RAW Paste Data