anonīms Posted April 13, 2009 Report Share Posted April 13, 2009 Kas varētu būt par vainu, ka aizsūtot pastu tabulā "Temats" nerādas garumzīmes, bet pašā "ziņā" rādas.? $turnira_id['nosaukums'] = 'NHL ALL STAR Turnīrs 09'; $subject = "".$turnira_id['nosaukums']." sācies!"; $message = " Esi gatavs vai nē, bet www....lv turnīrs ir sācies! \n Neaizmirsti, ka arī Tu esi pieteicies! \n Vēlam veiksmi! :) Lai nokļūtu pie turnīra spied uz linka zemāk \n http://www.....lv/?a=turniri&id=20 "; $from = "From: INFO@...LV\r\n"; $headers .= "X-Mailer: Drupal\n"; $headers .= 'MIME-Version: 1.0' . "\n"; $headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n"; mail("...@inbox.lv", $subject, $message, $from, $headers); Quote Link to comment Share on other sites More sharing options...
bubu Posted April 13, 2009 Report Share Posted April 13, 2009 Ja subjekts nav ASCII, tad tas jākodē ar base64. Palasi komentārus pie mail fjas manuālī. Piemēram šo: http://lv.php.net/manual/en/function.mail.php#77458 Quote Link to comment Share on other sites More sharing options...
anonīms Posted April 13, 2009 Author Report Share Posted April 13, 2009 jap, viss iet. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.