| | | | |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | |
| Erfahrener Benutzer Registriert seit: 21.05.2008
Beiträge: 146
![]() | Hallo, schau Dir mal folgende Seite an: http://www.infos24.de/phpe/handbuch/23_php_mail.htm#8 Ich meine, dies ist eine gute Erklärung weiter kannst Du Bilder mit der Http-Funktion enctype=multipart/form-data zum Upload im Formular mit angeben: http://www.infos24.de/phpe/handbuch/...hicken_php.htm Gruß, kamalo |
| |
| | |
| Gast
Beiträge: n/a
| ...oder du verwendest ganz einfach die PHP-Mailer Class von http://phpmailer.sourceforge.net Vorteile: Sie ist RFC-Konform, einfach zu bedienen und kennt die nervigen Probleme der PHP eingebauten Mailing-Funktionen nicht, da sie direkt mit dem SMTP-Server kommuniziert. Beispiel einer Mail mit dieser Class: Code: $mail =& new phpmailer();
$mail->IsSMTP();
$mail->Host = 'some.smtp.server.com';
$mail->From = 'me@home.com';
$mail->FromName = 'Arthur Dent';
$mail->AddAddress('someone@test.com','Trillian');
$mail->Subject = 'Love ya...';
$mail->Body= 'This is HTML body for HTML-clients!';
$mail->AltBody= 'Your client cannot read HTML mails. No problem - here we have the text shape of this mail!';
$mail->isHTML(true);
$mail->Send();
Grüsse Alex |
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [Erledigt] HTML Mail mit Lücken mitten in den Worten, wie kommt das? | DeeFour | PHP-Fortgeschrittene | 2 | 29.05.2008 15:47 |
| Problem beim erstellen einer HTML Mail... | GELight | PHP Tipps 2006 | 15 | 06.10.2006 00:27 |
| HTML Mail mit Code über Formular/Textfeld | madSoul | PHP Tipps 2006 | 5 | 28.04.2006 12:33 |
| HTML Kontaktformular | FireFIghter | PHP Tipps 2007 | 8 | 30.11.2005 16:23 |
| html mail | CHRIS | PHP Tipps 2005-2 | 3 | 18.10.2005 21:44 |
| html mail versenden | PHP Tipps 2005-2 | 3 | 17.09.2005 13:48 | |
| Kontaktformular, welches auf neue html Seite führt | PHP Tipps 2005-2 | 4 | 20.07.2005 11:21 | |
| Mit der PHP mail() Funktion eine HTMl mail verschicken? | PHP Tipps 2005 | 6 | 09.05.2005 07:13 | |
| html mail ich gebs auf :-( | PHP Tipps 2005 | 17 | 03.03.2005 12:13 | |
| [Erledigt] html mit mail versenden | PHP-Fortgeschrittene | 0 | 27.01.2005 19:53 | |
| bilder in html mail | PHP-Fortgeschrittene | 11 | 10.01.2005 20:03 | |
| mehrere Atachement mit HTML Mime mail class??? | 18inch | PHP Tipps 2004-2 | 1 | 28.11.2004 23:58 |
| [Erledigt] HTML Formular durch PHP Code per Mail versenden | PHP Tipps 2004-2 | 3 | 12.11.2004 11:48 | |
| warum nur html mail? | PHP Tipps 2004 | 2 | 05.08.2004 09:42 | |
| html mail | PHP Tipps 2004 | 2 | 03.08.2004 09:05 | |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.