Strona 1 z 1

wiadomości php + mysql

: 13 lip 2017, 19:29
autor: przemek
Potrzebuje skryptu w php dzięki któremu będę mógł wysyłać prywatne wiadomości

Re: wiadomości php + mysql

: 20 paź 2021, 12:25
autor: usebot
Nikt nie pomoże ?

To może ja :D

Kod: Zaznacz cały

$to      = $email;
			$subject = 'Usunięcie opinii';
			$message = '<html><body>Witaj,<br />twoja wiadomość tutaj</body></html>';
To na dole to jak bez funkcji mailsmtp
			/* $headers = 'Content-type: text/html; charset=utf-8' . "\r\n" . 
			'From: noreply@'.$adres.'' . "\r\n" .
				'Reply-To: '.$email.'' . "\r\n" .
				'X-Mailer: PHP/' . phpversion(); */
			mailsmtp($to, $subject, $message);
			//mail($to, $subject, $message, $headers);  /// z tego bez funkcji mailsmtp 
			header ('Location: plik.php');
			exit;