Open bunglex opened 1 year ago
This issue has been mentioned on SuiteCRM. There might be relevant details there:
https://community.suitecrm.com/t/oauth-connection-for-inbound-emails/87421/5
This issue has been mentioned on SuiteCRM. There might be relevant details there:
Yes I have a similar issue, only I was specific busy with inbound email account.
we are also having issues connecting m365 to suitecrm when sending emails.
What about connecting to a gmail account, happens the same?
the password is saved and the email sent correctly when using a gmail account ?
ok thnx @bunglex for the information. Do you know where I can find a good manual / information for a gmail account
I have the same issue, pls help
Does this still occur on the latest 7.13?
yes 7.13.2
This issue has been mentioned on SuiteCRM. There might be relevant details there:
https://community.suitecrm.com/t/email-setup-help-and-explanation/88999/2
I suspect it might be this issue: there is a fix proposed and it works (I tested it). https://github.com/salesagility/SuiteCRM/issues/9457
@pstevens71 That link leads to a non existent page.... this is the one: https://github.com/salesagility/SuiteCRM/issues/9457
The previous #9457 doesn't seem to work for me on 7.13.3. I just cannot seem to authenticate outbound email. I've tried ins sugarmailer.php to use the debugging to force the correct password and it works no problem. However, I cannot get test to work or after it's saved to work. I checked the DB and there are values in the password. Anyone know the password encryption? Is it MD5?
Also further info.... when using a gmail account with an app password, I can send a test and verify. However, the user cannot send with this account. (yes I have the option selected).
v7.14.4 Inbound fails too.
Sat Aug 3 10:37:00 2024 [21013][1][FATAL] ImapHandler trying to use a non valid resource stream. Sat Aug 3 10:37:00 2024 [21013][1][FATAL] ImapHandler trying to use a non valid resource stream. Sat Aug 3 10:38:00 2024 [21013][1][FATAL] An Imap error detected: "IMAP open error: Can not authenticate to IMAP server: Empty startup greeting (outlook.office365.com:993)" Sat Aug 3 10:38:00 2024 [21013][1][FATAL] An Imap error detected: "IMAP open error | debug data" Sat Aug 3 10:38:00 2024 [21013][1][FATAL] An Imap error detected: "ImapHandler:open: {outlook.office365.com:993\/service=imap}INBOX"
Hey @rmunoz you can't use IMAP for O365, it's no longer supported. You have to setup Oauth.
@pstevens71 I guess you mean @rmunoz10 :D
Issue
Can't set 'Outbound Email' or create 'Personal Outbound Email Account because authentication fails.
Expected Behavior
After setting up 'External OAuth Provider' and 'External OAuth Connector' and successfully retrieving an Access and Refresh Token, you should able to configure 'Outbound Email Settings' and setup a 'Personal Outbound Email Account', and also create inbound email account.
In the detail page for Personal Outbound Email Account , the 'send test email' should send test email when the correct settings are used.
Actual Behavior
In the detail page for Personal Outbound Email Account , the 'send test email' fails and returns an SMTP log that states
Authentication unsuccessful, the user credentials were incorrect.
SMTP Error: Could not authenticate.
SuiteCRm logs :
However, if you re-enter the password 'after' opening the page, the test succeeds and the email is sent correctly.
forum post here
Possible Fix
unknown
Steps to Reproduce
Authentication fails and displays SMTP Log
Test passes and email is sent
Context
Can't setup an office365 outbound or inbound email account
Your Environment