Advertisement
rhcp011235

Untitled

Aug 27th, 2023
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <?php
  2.  
  3. $handle = fopen("./tn_list", "r");
  4. if ($handle)
  5. {
  6. echo '<a href="mailto:';
  7. while (($line = fgets($handle)) !== false)
  8. {
  9.  
  10. echo $line . ";";
  11.  
  12. }
  13. }
  14.  
  15. $subject = "TESTING SUBJECT";
  16. $body = "Testing body";
  17. echo "?subject=$subject&body=$body";
  18. echo '">Send</a>';
  19.  
  20. fclose($handle);
  21.  
  22. ?>
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement