View difference between Paste ID: jC5vm7YG and 3C31SKvn
SHOW: | | - or go back to the newest paste.
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
<head>
4
	<meta charset="UTF-8">
5
</head>
6
<body>
7
<?php
8
$saved_tracking  = "123456789";
9
10
$headers = "MIME-Version: 1.0".PHP_EOL;
11
$headers .= "Content-Type: text/html; charset=UTF-8".PHP_EOL;
12
$headers .= "From: Nome Cognome <nome@cognome.com>".PHP_EOL;
13
14-
$testo = '<html><head></head><body>The package with your items has been entrusted to the local post office and will be shipped by "Signed for", you can follow the tracking on this website <a href="https://t.17track.net/en\#nums='.$saved_tracking.'" target="_blank">17track.net</a>.<br /><br />Or you can track within your local postal service with the following code: <b>'.$saved_tracking.'</b>.<br /><br />Tracking may require 1-2 working days to show the first status and it will be guaranteed within the italian territory. Sometimes it does not show any update after italian customs, so if the package do not arrive within a reasonable time frame please get in touch and I will check with the carrier.<br /><br />Please be sure to <b>check tracking regularly</b> to prevent the package from being deposited or sent back.<br /><br />Shipping time and other useful information can be found in the "Shipping cost and timing" section of the Policies. I tempi di spedizione ed altre informazioni utili si possono consultare nella sezione "Costi e tempi di spedizione" del </body></html>';
14+
$testo = '<html><head></head><body>Penso che tutto questo sia proprio una fregatura <a href="https://t.17track.net/en\#nums='.$saved_tracking.'" target="_blank">17track.net</a>.<br /><br />Or you can track within your local postal service with the following code: <b>'.$saved_tracking.'</b>.<br /><br />Tracking may require 1-2 working days to show the first status and it will be guaranteed within the italian territory. Sometimes it does not show any update after italian customs, so if the package do not arrive within a reasonable time frame please get in touch and I will check with the carrier.<br /><br />Please be sure to <b>check tracking regularly</b> to prevent the package from being deposited or sent back.<br /><br />Shipping time and other useful information can be found in the "Shipping cost and timing" section of the Policies. I tempi di spedizione ed altre informazioni utili si possono consultare nella sezione "Costi e tempi di spedizione" del </body></html>';
15
16-
$user = "Tizio";
16+
$user = "Luca";
17-
$mailto = "name.surname@gmail.com";
17+
$mailto = "giardin4.luc4@gmail.com";
18
$titoloMail = "Titolo Mail";
19
if ( mail($mailto,$titoloMail,$testo,$headers) ){
20
	echo 'Mail inviata';
21
} else {
22
	echo 'Errore php mail().';
23
}
24
?>
25
</body>
26
</html>