Autor Zpráva
Joe
Profil *
Ako poslať jednoduchým php scriptom obrázok v prálohe mailu?
Alphard_
Profil *
Na přílohy je rozumné použít nějakou hotovou knihovnu. Nette mail, PHPMailer apod.
Joe
Profil *
Našiel som jednoduchý form:

//define the receiver of the email
$to = 'email@email.sk';
//define the subject of the email
$subject = 'Subjekt';
//define the message to be sent. Each line should be separated with \n
$message ="Text emailu";
//define the headers we want passed. Note that they are separated with \r\n
$headers = "From: from@from.sk\r\nReply-To:to@to.sk";
//send the email
$mail_sent = @mail( $to, $subject, $message, $headers );


a len by som do toho chcel pridat obrazok na poslanie
blaaablaaa
Profil
Joe:
Jak pise Alphard_, doporucuji pouzit PHPMailer, kde mas i hotovy priklad.
Joe
Profil *
No nemôžem si pomôcť, ale PHPmailer je na mna zložitý a Nette mail mi nefunguje na servery.
WertriK
Profil
Joe:
http://www.pcforum.sk/manual-pouzivame-phpmailer-vt63481.html
Joe
Profil *
No nech robím, čo robím, neprejde mi ten mail.

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0