diff options
author | yehuda <yehuda@myinbox.in> | 2019-05-15 15:05:30 +0300 |
---|---|---|
committer | yehuda <yehuda@myinbox.in> | 2019-05-15 15:05:30 +0300 |
commit | 9e2de08e9df8ce719fa04da2405d64f633d94b0e (patch) | |
tree | 2072cae96f3229c20987fc43d5cede9aedc1a788 /Postman/Postman-Mail/PostmanSmtpModuleTransport.php | |
parent | 71c82c669fd430f3d8a40839a10eaa231081bbea (diff) | |
download | Post-SMTP-9e2de08e9df8ce719fa04da2405d64f633d94b0e.zip |
sendgrid api + and mailer type messages
Diffstat (limited to 'Postman/Postman-Mail/PostmanSmtpModuleTransport.php')
-rw-r--r-- | Postman/Postman-Mail/PostmanSmtpModuleTransport.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Postman/Postman-Mail/PostmanSmtpModuleTransport.php b/Postman/Postman-Mail/PostmanSmtpModuleTransport.php index b0fb2c3..08e833f 100644 --- a/Postman/Postman-Mail/PostmanSmtpModuleTransport.php +++ b/Postman/Postman-Mail/PostmanSmtpModuleTransport.php @@ -327,11 +327,6 @@ class PostmanSmtpModuleTransport extends PostmanAbstractZendModuleTransport impl 'printSmtpSectionInfo', ), PostmanAdminController::SMTP_OPTIONS ); - add_settings_field( 'smtp_mailers', __( 'If you have any issues with the default, select PHPMailer', 'post-smtp' ), array( - $this, - 'smtp_mailer_callback', - ), PostmanAdminController::SMTP_OPTIONS, PostmanAdminController::SMTP_SECTION ); - add_settings_field( PostmanOptions::HOSTNAME, __( 'Outgoing Mail Server Hostname', 'post-smtp' ), array( $this, 'hostname_callback', @@ -406,19 +401,6 @@ class PostmanSmtpModuleTransport extends PostmanAbstractZendModuleTransport impl print __( 'Configure the communication with the mail server.', 'post-smtp' ); } - /** - * Get the settings option array and print one of its values - */ - public function smtp_mailer_callback() { - $smtp_mailers = PostmanOptions::SMTP_MAILERS; - $current_smtp_mailer = $this->options->getSmtpMailer(); - printf( '<select id="input_%2$s" class="input_%2$s" name="%1$s[%2$s]">', PostmanOptions::POSTMAN_OPTIONS, 'smtp_mailers' ); - foreach ( $smtp_mailers as $key => $smtp_mailer ) { - printf( '<option class="input_tx_type_%1$s" value="%1$s" %3$s>%2$s</option>', $key, $smtp_mailer, $current_smtp_mailer == $key ? 'selected="selected"' : '' ); - } - print '</select>'; - } - /** * Get the settings option array and print one of its values */ |