Mikijs Posted April 24, 2008 Report Share Posted April 24, 2008 Sveiki, velejos apjautaties vai kads gadijuma nav stradajis ar PHP Mime ? - Lugums - - Pastastiet ludzu ka var uzstadot sutitaja e-pastu noradit arii sutitaja vardu ? - Lietoju Mime 2.0.0 php-> fputs($fp, "mail from: <" . $this->from . ">\r\n"); meiginaju -> fputs($fp, "mail from: $name <" . $this->from . ">\r\n"); bet tad vispar e-pastu nenosuta. Link to comment Share on other sites More sharing options...
andrisp Posted April 24, 2008 Report Share Posted April 24, 2008 Kas tas par "mime", par ko tu runā ? Link to comment Share on other sites More sharing options...
Mikijs Posted April 24, 2008 Author Report Share Posted April 24, 2008 :D Ka tu nezini mime? :D tas ir tas pac kas mail(); funkcija tikai funkcionalitate lielaka http://bokehman.com/mime_mail_script Link to comment Share on other sites More sharing options...
andrisp Posted April 24, 2008 Report Share Posted April 24, 2008 Kas man jāzin visi n-tūkstoši skripti, kas pa internetu mētājās ? Link to comment Share on other sites More sharing options...
marcis Posted April 24, 2008 Report Share Posted April 24, 2008 Pēc tavas dotās saites neatrado neko, kas līdzinātos tam, ko tu rakstiji php-> fputs($fp, "mail from: <" . $this->from . ">\r\n");meiginaju -> fputs($fp, "mail from: $name <" . $this->from . ">\r\n"); Bet pēc idejas sūtot e-pastu mēs header`os sametam From: Name <your@mail.com> Link to comment Share on other sites More sharing options...
andrisp Posted April 24, 2008 Report Share Posted April 24, 2008 Vispār tajā linkā ir piemēri: // send mail with additional headers $to = 'you@yourDomain.com'; $subject = 'MIME mailer example'; $message = 'Plain message text'; $headers = 'From: sender name <sender@domain.com>'."\n". 'Bcc: another@email.com'; require_once('function_mime_mailer.php'); mime_mailer($to, $subject, $message, $headers); Mikij, a vispār kādā jēgā tu izmanto fputs ? Link to comment Share on other sites More sharing options...
bubu Posted April 24, 2008 Report Share Posted April 24, 2008 Doh, tu pats apskatījies savā iedotajā linkā? Tur pat gatavs piemērs iedots: // send mail with additional headers $to = 'you@yourDomain.com'; $subject = 'MIME mailer example'; $message = 'Plain message text'; $headers = 'From: sender name <sender@domain.com>'."\n". 'Bcc: another@email.com'; require_once('function_mime_mailer.php'); mime_mailer($to, $subject, $message, $headers); Link to comment Share on other sites More sharing options...
Recommended Posts