$query = "SELECT adres from newsletter where potwierdzony = 't'"; $adresy[] = $row[0]; } $msgBody = $_POST['tresc']; $msgBody .= $stopka; $headers = 'newsletter@mojastrona.pl';
$query = "SELECT adres from newsletter where potwierdzony = 't'"; $adresy[] = $row[0]; } $msgBody = $_POST['tresc']; $msgBody .= $stopka; $headers = 'newsletter@mojastrona.pl';
$headers="From: newsletter@mojastrona.pl";
$headers="From: newsletter@mojastrona.pl\r\nContent-type: text/plain; charset=UTF-8";