Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > PHP

Reply
 
LinkBack Thread Tools
Old September 14th, 2007, 02:31 AM   #1
New Member
 

Join Date: Sep 2007
Location: India
Age: 23
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 annawilsonz is on a distinguished road
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; September 17th, 2007 at 07:41 AM.. Reason: deleted link... stop spamming please
annawilsonz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Html button sending data to flash movie..how??? webworks Flash and ActionScript 2 September 23rd, 2007 12:13 PM
Form2Email build message with html, I need help vandiermen PHP 8 April 30th, 2007 11:28 AM
problem with images when sending html page by mail juanb007 HTML, XHTML and CSS 4 April 28th, 2007 11:25 PM
Sending Mail, Body message from database chlad Classic ASP 3 November 16th, 2006 12:05 AM
Sending HTML only on Submit. JohnMitch JavaScript 10 October 20th, 2004 05:09 AM


Search Engine Optimization by vBSEO 3.2.0 RC8