Web design company - } elseif ($this->send_html and !$this->send_text) { $this->message =
} elseif ($this->send_html and !$this->send_text) { $this->message = $this->htmlbody; $this->headers .= MIME-Version: 1.0rn ; $this->headers .= Content-type: text/html; . charset=iso-8859-1rn ; } else { $_boundary = ==MP_Bound_xyccr948x== ; $this->headers = MIME-Version: 1.0rn ; $this->headers .= Content-type: multipart/alternative; . boundary= $_boundary rn ; $this->message = This is a Multipart Message in . MIME formatn ; $this->message .= –$_boundaryn ; $this->message .= Content-Type: text/plain; . charset= iso-8859-1 n ; $this->message .= Content-Transfer-Encoding: 7bitnn ; $this->message .= $this->body . n ; $this->message .= –$_boundaryn ; $this->message .= Content-type: text/html; . charset= iso-8859-1 n ; $this->message .= Content-Transfer-Encoding: 7bitnn ; $this->message .= $this->htmlbody . n ; $this->message .= –$_boundary– ; } } if (!mail($this->to,$this->subject,$this->message,$this->headers)) { throw new Exception( Sending mail failed. ); return FALSE; } else { return TRUE; } } } ?> 4. Okay, one more script. When the administrator clicks a button, you need to have a page that handles the transactions. Enter the following, and save it as admin_transact.php: We recommend cheap and reliable webhost to host and run your web applications: Coldfusion Web Hosting services.