Autor | Zpráva | ||
---|---|---|---|
Joe Profil * |
#1 · Zasláno: 18. 4. 2010, 20:34:19
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 * |
#3 · Zasláno: 18. 4. 2010, 20:49:11
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 |
#4 · Zasláno: 19. 4. 2010, 09:05:36
Joe:
Jak pise Alphard_, doporucuji pouzit PHPMailer, kde mas i hotovy priklad. |
||
Joe Profil * |
#5 · Zasláno: 19. 4. 2010, 20:31:40
No nemôžem si pomôcť, ale PHPmailer je na mna zložitý a Nette mail mi nefunguje na servery.
|
||
WertriK Profil |
#6 · Zasláno: 19. 4. 2010, 20:41:39
|
||
Joe Profil * |
#7 · Zasláno: 19. 4. 2010, 21:24:47
No nech robím, čo robím, neprejde mi ten mail.
|
||
Časová prodleva: 14 let
|
0