/ Published in: PHP
This is only the start if an Email class.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php /** * This is the email class, it handles all of the email requests etc. * * @category Suburban Arctic * @copyright Copyright (c) 2011 John Crossley (http://suburbanarctic.com) * @license http://suburbanarctic.com/angrypossum/ * @version Release: 1.0 * @link http://suburbanarctic.com#shop * @since Class available since Release 1.0 */ class Email { // Set some default variables:: /** * Use this method to set a default email for the class. * So when the email is sent it's from this email. * * @param string $email */ public function set_default_email($email) { $this->_email = $email; } public function show_default_email() { return $this->_email; } } ?>