Skip to content

Instantly share code, notes, and snippets.

@mikeyhoward1977
Last active April 30, 2020 22:45
Show Gist options
  • Save mikeyhoward1977/20b2043e30553d2fcababa7b3611bff7 to your computer and use it in GitHub Desktop.
Save mikeyhoward1977/20b2043e30553d2fcababa7b3611bff7 to your computer and use it in GitHub Desktop.
Adding IMAP flags within KB Support - Email Support
/**
* 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