public function getMailContent()
    {
        if (!empty($this->owner->SuccessMessageMail)) {
            return $this->owner->dbObject('SuccessMessageMail');
        } else {
            return SiteConfig::current_site_config()->dbObject('SuccessMessageMail');
        }
    }
public function getMailContent()
    {
        if (!empty($this->owner->SuccessMessageMail)) {
            return $this->owner->dbObject('SuccessMessageMail');
        } else {
            return SiteConfig::current_site_config()->dbObject('SuccessMessageMail');
        }
    }
public function getMailContent ( ) { if ( ! empty ( $ this -> owner -> SuccessMessageMail ) ) { return $ this -> owner -> dbObject ( 'SuccessMessageMail' ) ; } else { return SiteConfig :: current_site_config ( ) -> dbObject ( 'SuccessMessageMail' ) ; } }
Get the mail message

@return mixed|string
Get the mail message