Ben bir PHP komut dosyası gönderilen benim SMS mesajında oluşturulan yeni bir hat almak için çalışıyorum. I \r\n, <BR> ve bazı hex kodlarını kullandım. Ne olursa olsun ben ne mesaj satırı sonları olmadan benim telefonunuza geliyor.
$body .= 'City:'.$venue.'\r\n'; //<- doesn't work
$body .= 'State:'.$state.'<br>'; //<- doesn't work
Bu benim başlık türüdür ... (tam başlık dahil değildir)
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
Ben göndermek için posta kullanmak ...
mail($somenumber,$subject,$body,$headers)
Everything works fine in the sense that I receive the message. I hope that I'm missing something, because this is driving me crazy.