Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on send email using php within the PHP forums, part of the Web Development category; hi, i want to send a email using php with the headers and CC ... if anyone have the code plz post here...otherwise plz tell me how can i send ...
|
|||||||
| PHP PHP - The most popular scripting language. Discuss PHP related questions here. Sample Scripts, Popular downloads, tools and utilites and more... |
![]() |
| LinkBack | Thread Tools | Display Modes |
|
|||
|
send email using php
hi,
i want to send a email using php with the headers and CC ... if anyone have the code plz post here...otherwise plz tell me how can i send it ? i am a new learner of php. -------------- suresh |
| The Following User Says Thank You to psuresh1982 For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: send email using php
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'To: ABC <abc@abc.com>, def <def@def.com>' . "\r\n"; $headers .= 'From: Me <xyz@xyz.com>' . "\r\n"; $headers .= 'Cc: pqr@pqr.com' . "\r\n"; $headers .= 'Bcc: pqr@pqr.com' . "\r\n"; // Mail it mail($to, $subject, $message, $headers); |
| The Following User Says Thank You to ravi_shekhar80 For This Useful Post: | ||
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Code to email HTML Page along with PDF Attachment | Shivanna | PHP | 0 | 10-11-2006 05:57 AM |
| About Email | blenda | Interviews | 1 | 08-14-2006 05:14 AM |