ActionMailer

email()

7: 	function email() {
8: 		ob_start();
9: 		foreach ($this as $key => $value) {
10: 			if (!preg_match('/^_/', $key)) {
11: 				$$key = $value;
12: 			}
13: 		}
14: 		include DIR_VIEWS . 'notifier/' . $this->render . '.phtml';
15: 		$content = ob_get_contents();
16: 		ob_end_clean();
17: 		$headers = 'From: ' . $this->from;
18: 		return mail($this->recipients, $this->subject, $content, $headers);
19:
20: 	}

File: lib/support/ActionMailer.php, #line 7

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>