Last active
April 30, 2020 22:45
-
-
Save mikeyhoward1977/20b2043e30553d2fcababa7b3611bff7 to your computer and use it in GitHub Desktop.
Adding IMAP flags within KB Support - Email Support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add novalidate-cert flag to mailbox connection for KBS Email Support. | |
* | |
* This flag is required if your IMAP/POP3 mail host does not have a valid SSL certificate. | |
* | |
* Add this code to your child theme functions.php file, or to a custom plugin. | |
*/ | |
function kbs_ems_additional_flags( $flags ) { | |
$flags[] = 'novalidate-cert'; | |
return $flags; | |
} // kbs_ems_additional_flags | |
add_filter( 'kbs_ems_mailbox_additional_flags', 'kbs_demo_ems_additional_flags' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment