Jump to content
php.lv forumi

mail() kodējums


anonīms

Recommended Posts

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);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...