ik heb op mn page dit scriptje:
maar hij stuurt geen HTML, maar gewone text...
wat doe ik fout?
PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| <? $msg = "<html> <head> <title>Een E-Card van $fromname!</title> </head> <body> <table class=form border=0 cellpadding=3 cellspacing=0> <tr> <td> [img]'$pic'[/img] </td> <td> <b>Aan:</b> $toname ($to)<br> <b>Van:</b> $fromname ($from)<p> <blockquote><b>$titel</b></blockquote> $tekst <blockquote><b>$afsluiting</b></blockquote> </td> </tr> </table> </body> </html>"; $subject = "Een E-Card van $fromname!"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: $fromname <$from>\r\n"; mail($to, $subject, $msg, $headers); ?> |
maar hij stuurt geen HTML, maar gewone text...
wat doe ik fout?
2 swim or not 2 swim, that's the question