Autor Beitrag
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 23.02.05 14:25 
Moin.. :D

Ich hab in einem PHP-Skript die mail-Funktion eingebaut und will jetzt, dass die Mail als HTML-Mail verschickt wird. Also wenn irgendwo ein <b> steht, dass er das dann fett schreibt.

Danke schonmal... ;)

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Mi 23.02.05 15:07 
im Header "Content-Type" auf "text/html" setzen, sollte genügen. :roll:

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)


Zuletzt bearbeitet von StefanH am Mi 23.02.05 15:16, insgesamt 1-mal bearbeitet
WeBsPaCe Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 23.02.05 15:12 
Sorry, ich bekomm das nich hin... Kannst du vielleicht mal n kleines Beispiel machen?? ;)

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Mi 23.02.05 15:14 
und das sol ich dir glauben? du bist doch nur zu faul, oder? ;)

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
WeBsPaCe Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 23.02.05 15:17 
Wirklich nicht... :(

Die Mail kommt so an:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body><p><font face="Courier New">****************

<b>Name:</b> **************
<b>Adresse:</b> **************
<b>Alter:</b> **************
<b>Termin:</b> **************




<b>____________________________________________________________</b>





</font></p></body></html>

PS.: Die Sternchen sind jetzt mal nur zur Zensur... ;)

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Mi 23.02.05 15:23 
Zitat:
ausblenden Quelltext
1:
2:
3:
<?php  
mail ("*******@web.de","Web-Anmeldung".date("d.m.y H:i:s"),"Neue Anmeldung auf der Website eingegangen.\n".$_POST["nom"]."\n".$_POST["mail"]."\n".$_POST["age"]."\n","FROM:ADMIN@*************** \nContent-Type: text/html");  
?>

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
WeBsPaCe Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 23.02.05 15:28 
Okay, danke, so funktioniert's... ;) :flehan: Danke!!

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.