• Resolved hccdonder

    (@hccdonder)


    I am trying to setup the free version before I spend the money on the paid version. I am not able to setup the Incoming Mail Server portion. I have set my group email address and password to the shared mailbox email address and password. I have set Access Mailbox Via to IMAP and set the Incoming Mail Server to outlook.office365.com, Port:993, User/Pass required checked. I put the same shared mailbox email address and password into the Username and Password fields under Incoming Mail Server and checked the SSL/Secure box.

    I have tried a number of combinations but all fail with errors of different sorts. The setup described above fails with this error:

    Error connecting to imap:Can not authenticate to IMAP server: AUTHENTICATE failed.Trying alternative….
    Failed: Connecting to mail server

    Any suggestions? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Yamna Khawaja

    (@marcusbs)

    For office365, imap_open will accept a different string, so try using WPMG filter:

    “mg_change_imap_flag” , read about it at :

    https://www.wpmailinggroup.com/wordpress-mailing-group-hooks-and-filters-advanced-develpment/

    The connection string you can specify in filter will be some close to:

    {outlook.office365.com:993/imap/ssl/[email protected]}

    Read about it at:

    https://stackoverflow.com/questions/46059155/cant-connect-to-office-365-using-php-imap-open

    Good Luck : )

    Thread Starter hccdonder

    (@hccdonder)

    Where in the world to you add that? I do not see an option for the imap_flag or imap_open. Do I need to be able to modify the source files? Not sure where I do that. The help page references a connection string (as do you), but I do not see that either.

    I am NOT a PHP developer so any additional guidance would be greatly appreciated!

    Thread Starter hccdonder

    (@hccdonder)

    I think I figured it out. I added it to the end of the functions.php file in the theme we are using. It says it is working but I will have to run some tests to verify.

    Thanks!

    Thread Starter hccdonder

    (@hccdonder)

    When I send an email to the listserv email address, the email is received by Microsoft and the plugin retrieves the email and deletes it from the server. However, no email is sent to the members of the list. I have tested the sending in the past, and it seemed to be working. I will test the sending directly via the Troubleshoot page.

    David

    Thread Starter hccdonder

    (@hccdonder)

    I managed to get it working. I was using SMTP to send the email but switched to PHP mail. That fixed my issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Setting up using Office365 shared mailbox’ is closed to new replies.