Mikijs Posted April 24, 2008 Report 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.
Mikijs Posted April 24, 2008 Author Report 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
andrisp Posted April 24, 2008 Report Posted April 24, 2008 Kas man jāzin visi n-tūkstoši skripti, kas pa internetu mētājās ?
marcis Posted April 24, 2008 Report 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>
andrisp Posted April 24, 2008 Report 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 ?
bubu Posted April 24, 2008 Report 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);
Recommended Posts