diff --git a/application/config/email.php b/application/config/email.php new file mode 100644 index 000000000..f242e888f --- /dev/null +++ b/application/config/email.php @@ -0,0 +1,10 @@ +reply_to($reply_mail, $reply_name); + $this->from($this->default_sender_address, $this->default_sender_name, $this->default_bounce_address); + $this->set_mailtype('html'); + $this->subject($subject); + $this->message($body); + if ($to == NULL) { + $to = $this->default_email_address; + $this->cc($this->default_cc_address); + } + if ($attachment) { + $this->attach($attachment); + } + $this->to($to); + return $this->send(); + } + +} + +?>