Dashboard
PHP:
8.4.22
OS:
Linux
User:
provencez
/
/
home
/
provencez
/
www
/
wp-content
/
plugins
/
easy-wp-smtp
/
src
/
Providers
/
SMTP
📤 Upload
📝 New File
📁 New Folder
Close
Editing: Mailer.php
<?php namespace EasyWPSMTP\Providers\SMTP; use EasyWPSMTP\Providers\MailerAbstract; /** * Class Mailer inherits everything from parent abstract class. * This file is required for a proper work of Loader and \ReflectionClass. * * @package EasyWPSMTP\Providers\SMTP */ class Mailer extends MailerAbstract { /** * @inheritdoc */ public function is_mailer_complete() { $options = $this->connection_options->get_group( $this->mailer ); // Host and Port are the only really required options. if ( ! empty( $options['host'] ) && ! empty( $options['port'] ) ) { return true; } return false; } }
Save
Cancel