Project Detail

quick fix  

quick fix is project number 492979
posted at Freelancer.com. Click here to post your own project.

 

| More
Free Trial For New Buyers
 

Status:

Selected Providers: utpal4job

Budget: $30-250

Created: 08/21/2009 at 12:54 EDT

Bid Count: 8

Average Bid:
$ 30

08/22/2009 at 12:54 EDT

Project Creator: scriptinphp
Employer Rating: 9.8889/109.8889/109.8889/109.8889/109.8889/109.8889/109.8889/109.8889/109.8889/109.8889/10 (9 reviews)

Bid On This Project
 

Description

Need someone to look at my code, and let me know what I am doing wrong. process outline:

1) data posted to db from fckeditor
2) data read from db and added to a simple function for sending the email out.

there are 2 options send email as html or as standard text, text works fine, when sending as html, it just shows the html markup instead of sending as html.

I know it's a simple fix I can't remember right now.

btw the function is working fine (just didn't get all brackets here) what am I missing / doing wrong in mime area? or is it something else?

here's the function:

function MailSendFunction ($to, $toname ,$from, $fromname, $subject,$body,$html,$ID){

if ($html == "HTML") {
$mimeheader = "To: $toname <$to>\r\n" .
"From: $fromname <$from>\r\n" .
"MIME-Version: 1.0\r\n" .
"Content-type: text/html; charset=\"iso-8859-1\"\r\n" .
"Content-Transfer-Encoding: 7bit\r\n";
} else {
$mimeheader = "To: $toname <$to>\n" .
"From: $fromname <$from>\n" .
"MIME-Version: 1.0";

}

//$body = '<html><body>' . $body . '</body></html>';

if (@mail($to, $subject, $body, $mimeheader)) {


$updatestr = "DELETE from nesletterque WHERE ID='$ID' ";
mysql_query($updatestr);

Job Type

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

30

0 days

08-21-2009 13:05 EDT

Hi, Please check PMB. for details. Thanks, Best Regards, NeOLiO

help

 

30

1 day

08-21-2009 12:59 EDT

easy task for me, please give me the job

help

 

30

0 days

08-21-2009 13:21 EDT

Ready to start. Please refer PMB. Thanks.

help

 

30

1 day

08-21-2009 13:46 EDT

Can you please check your PM

help

 

30

0 days

08-21-2009 13:20 EDT

Hi,I can help you right now.Looking forward to your reply. Thanks

help

 

30

1 day

08-21-2009 13:17 EDT

please check pmb hope you will get the right person

help

 

30

0 days

08-21-2009 13:10 EDT

I will help you right away

help

 

30

1 day

08-21-2009 13:08 EDT

(No Feedback Yet)

its easy task give plz check pmb

help


    Bid on this Project