Cobalt International Energy, L.P.
Two Post Oak Central, 1980 Post Oak Blvd., Suite 1200,
Houston, Texas 77056
Tel. 713.579.9100 | Fax. 713.579.9196
Download logo (EPS) | (JPG)
We'd like to hear your feedback. If you have any questions about us or would like additional information, please let us know. Thanks.
"info@cobaltintl.com"); $subject = "Cobaltintl.com: Web Inquiry"; $pre_msg = "This message was sent from the Cobalt web contact form."; function sendMail($to, $from, $name, $message, $subject) { global $pre_msg; $formatted_msg = "".$pre_msg."

".nl2br($message)."

Sent by ".$_SERVER['REMOTE_ADDR'].""; $headers = "MIME-Version: 1.0\r\n". "Content-type: text/html; charset=iso-8859-1\r\n". "From: \"".$name."\" <".$from.">\r\n". "To: \"".$to."\" <".$to.">\r\n". "Date: ".date("r")."\r\n". "Subject: ".$subject."\r\n"; $mail = mail($to, $subject, $formatted_msg, $headers); if($mail == TRUE) { return TRUE; } else { return FALSE; } } function echoAddress($array) { $n = count($array); echo "\n"; } function translateID($id) { global $to; $email = array_values($to); $to_email = $email[$id]; return $to_email; } if($_POST['Submit']) { $send['to'] = translateID($_POST['to']); $send['from'] = $_POST['email']; $send['name'] = $_POST['name']; $send['msg'] = $_POST['msg']; $mailto = sendMail($send['to'], $send['from'], $send['name'], $send['msg'], $subject); if($mailto == TRUE) { echo "

Your message has been sent.

"; } else { echo "

Your message has not been sent due to server problems.

"; } } ?>




© 2007 Cobalt International Energy