Setting up using Office365 shared mailbox – Part 2
-
I managed to get the Mailing List software to connect to Office 365 using the following filter added to functions.php.
// Add filter for WP-Mailing-Group IMAP to work correctly
if ( ! function_exists( ‘office365_imap_connection_string_wpmg’ ) ):
function office365_imap_connection_string_wpmg($strConnect){$strConnect = ‘{outlook.office365.com:993/imap/ssl/[email protected]}’;
return $strConnect;
}
add_filter(“mg_change_imap_flag”,”office365_imap_connection_string_wpmg”);
endif;The problem is, I want to set up another mailing list using a different account ([email protected]). The above function has no way to be changed based on the user name in the configuration – it is always using [email protected]. How do I set this up to use two (or more) email addresses for our mailing lists?
Any pointers would be GREATLY appreciated!
- The topic ‘Setting up using Office365 shared mailbox – Part 2’ is closed to new replies.