This is a discussion on "Need help sending HTML message in PHP." within the PHP Forum section. This forum, and the thread "Need help sending HTML message in PHP. are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Need help sending HTML message in PHP.
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Need help sending HTML message in PHP.
Code: //HTML Email sending php $wheretosend = "info@abc.com"; $ToName = "ABC xco. Pvt. Ltd."; $ToSubject = "Enquiry Information"; $Message="<p>"; $Message=$Message."Hi, i am fine"; $Message=$Message."</p>"; $headers = "From: ".$email."\r\n"; $headers .= "To: ".$ToName."<".$wheretosend.">\r\n"; $headers .= "Content-type: text/html\r\n"; mail($ToEmail,$ToSubject, $Message, $headers); Last edited by Lchad; Sep 17th, 2007 at 11:41. Reason: deleted link... stop spamming please |
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Html button sending data to flash movie..how??? | webworks | Flash & Multimedia Forum | 2 | Sep 23rd, 2007 16:13 |
| Form2Email build message with html, I need help | vandiermen | PHP Forum | 8 | Apr 30th, 2007 15:28 |
| problem with images when sending html page by mail | juanb007 | Web Page Design | 4 | Apr 29th, 2007 03:25 |
| Sending Mail, Body message from database | chlad | Classic ASP | 3 | Nov 16th, 2006 04:05 |
| Sending HTML only on Submit. | JohnMitch | JavaScript Forum | 10 | Oct 20th, 2004 09:09 |