/** * Returns Mail SMTP * * @param string * @param string * @return Eden_Mail_Smtp */ public function smtp($host, $user, $pass, $port = NULL, $ssl = false, $tls = false) { Eden_Mail_Error::i()->argument(1, 'string')->argument(2, 'string')->argument(3, 'string')->argument(4, 'int', 'null')->argument(5, 'bool')->argument(6, 'bool'); return Eden_Mail_Smtp::i($host, $user, $pass, $port, $ssl, $tls); }
if(!class_exists('Eden_Mail')){class Eden_Mail extends Eden_Class{public static function i(){return self::_getSingleton(__CLASS__);}public function imap($host,$user,$pass,$port=NULL,$ssl=false,$tls=false){Eden_Mail_Error::i()->argument(1,'string')->argument(2,'string')->argument(3,'string')->argument(4,'int','null')->argument(5,'bool')->argument(6,'bool');return Eden_Mail_Imap::i($host,$user,$pass,$port,$ssl,$tls);}public function pop3($host,$user,$pass,$port=NULL,$ssl=false,$tls=false){Eden_Mail_Error::i()->argument(1,'string')->argument(2,'string')->argument(3,'string')->argument(4,'int','null')->argument(5,'bool')->argument(6,'bool');return Eden_Mail_Pop3::i($host,$user,$pass,$port,$ssl,$tls);}public function smtp($host,$user,$pass,$port=NULL,$ssl=false,$tls=false){Eden_Mail_Error::i()->argument(1,'string')->argument(2,'string')->argument(3,'string')->argument(4,'int','null')->argument(5,'bool')->argument(6,'bool');return Eden_Mail_Smtp::i($host,$user,$pass,$port,$ssl,$tls);}}}