Skip to content

Instantly share code, notes, and snippets.

@pixelbart
Last active October 27, 2015 09:16
Show Gist options
  • Save pixelbart/7b6b505976822fce770a to your computer and use it in GitHub Desktop.
Save pixelbart/7b6b505976822fce770a to your computer and use it in GitHub Desktop.
Spam Mail Generator
<?php
header("Refresh: 300;");
$some = 'ab1cd3efghijklmn8opqrstuv5wxyz'; // some text
$shuffle = substr(str_shuffle(md5($url)),5); // shuffle some text
$string = substr($some, 0, 5).substr(str_shuffle('abcdefghijklmnopqrstuvwxyz'),0,3); // make a cool shuffle with length 8
$receiver = ''; // Receiver?
$subject = ''; // Subject?
$from = 'From: '.$string.' <info@'.$string.'.com>'; // From? (create a shuffle email)
$text = ''; // Email content?
mail($receiver, $subject, $text, $from);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment