Forum

IMAP configuration ...
 
Notifications
Retirer tout

IMAP configuration for office365

7 Posts
2 Utilisateurs
0 Reactions
6,258 Vu
(@mcanuto)
Posts: 183
Reputable Member
Début du sujet
 
[#7099]

Hello,

we just changed our email provider to the offer office 365. And we are have troubles to configure ProjeQtOr.

We keep receiving this errors (Under tls or ssl config):

2020-12-18 17:43:27.165 ** ERROR ** [V8.6.3] Error sending mail
2020-12-18 17:43:27.165 ** ERROR ** [V8.6.3] SMTP Server : tls://smtp.office365.com
2020-12-18 17:43:27.165 ** ERROR ** [V8.6.3] SMTP Port : 587
2020-12-18 17:43:27.165 ** ERROR ** [V8.6.3] Mail stored in Database : #25621
2020-12-18 17:43:27.165 ** ERROR ** [V8.6.3] PHPMail error : SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:881A0000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:A5240000, 1.36674:0E000000, 1.61250:00000000, 1.45378:AA240000, 1.44866:1C010000, 16.55847:A8120000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140F468E1A00F01F00000000, 20.50032:140F468E8A17F01F00000000, 0.35180:140F468E, 255.23226:AE1B SMTP code: 554 Additional SMTP info: 5.2.0
2020-12-18 17:43:27.165 ** ERROR ** [V8.6.3] PHPMail debug :
2020-12-18 17:43:38.817 ** ERROR ** [V8.6.3] ERROR **
2020-12-18 17:43:38.817
** ERROR ** [V8.6.3] on file '/var/www/html/projeqtor/model/ImapMailbox.php' at line (86)
2020-12-18 17:43:38.818
** ERROR ** [V8.6.3] cause = imap_open(): Couldn't open stream {outlook.office365.com:995/imap/ssl/novalidate-cert}INBOX
2020-12-18 17:43:38.827
** ERROR ** [V8.6.3] [CLOSED] IMAP connection broken (server response)
2020-12-18 17:43:38.838
** ERROR ** [V8.6.3] ERROR **
2020-12-18 17:43:38.838 ** ERROR ** [V8.6.3] on file '/var/www/html/projeqtor/model/ImapMailbox.php' at line (86)
2020-12-18 17:43:38.838 ** ERROR ** [V8.6.3] cause = imap_open(): Couldn't open stream outlook.office365.com
2020-12-18 17:43:38.838 ** ERROR ** [V8.6.3] imap_open(): Couldn't open stream outlook.office365.com in ImapMailbox.php at line 86
2020-12-18 17:43:38.838 ** ERROR ** [V8.6.3] Error while executing CRON script : fix the source issue and manually restart the CRON Process
2020-12-18 17:43:38.838 ===== TRACE ===== Cron::run() - Error on checkEmails()
2020-12-18 17:44:33.883 ** ERROR ** [V8.6.3] Error sending mail
2020-12-18 17:44:33.884 ** ERROR ** [V8.6.3] SMTP Server : ssl://smtp.office365.com
2020-12-18 17:44:33.884 ** ERROR ** [V8.6.3] SMTP Port : 587
2020-12-18 17:44:33.884 ** ERROR ** [V8.6.3] Mail stored in Database : #25622
2020-12-18 17:44:33.884 ** ERROR ** [V8.6.3] PHPMail error : SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
2020-12-18 17:44:33.884 ** ERROR ** [V8.6.3] PHPMail debug :

Can you help us doing a proper configuration, please?

And also for the inputmailbox…

Thanks a lot.

Regards,
MCanuto


 
Posté : 18/12/2020 7:55 pm
(@babynus)
Posts: 14952
Membre Admin
 

For first error (SMTP), contact Office365 support for help.

For second error, as it is a Cron task, possibly you are still using old paramters.
Try and restart the Cron.


 
Posté : 21/12/2020 11:09 am
(@mcanuto)
Posts: 183
Reputable Member
Début du sujet
 

For first error (SMTP), contact Office365 support for help.

For second error, as it is a Cron task, possibly you are still using old paramters.
Try and restart the Cron.

Is ProjeQtOr compatible with the MAPI4 protocol?


 
Posté : 21/12/2020 12:19 pm
(@babynus)
Posts: 14952
Membre Admin
 

We are using PHP IMAP feature.
So compatibility with IMAP 4 may depend on your PHP version


 
Posté : 24/12/2020 2:14 pm
(@mcanuto)
Posts: 183
Reputable Member
Début du sujet
 

Hello,

if this can help someone else, I share with you what we found and it's working for us, for the inputmailbox :

serveur IMAP : 

{outlook.office365.com:993/imap/ssl/novalidate-cert}

For now, we didn't find yet the good configuration for the Emails sending under the Global parameters.

Best regards,
MCanuto
 


 
Posté : 29/12/2020 12:47 pm
(@babynus)
Posts: 14952
Membre Admin
 

Thanks for sharing.
I'll post this on Hint section


 
Posté : 29/12/2020 1:00 pm
(@mcanuto)
Posts: 183
Reputable Member
Début du sujet
 

Eureka!!!

It's done, and so I share it with you.
For the mailing configuration with a Microsoft365 account :

smtp server : 

smtp.office365.com

smtp port :

587

mailer Type :

Library PHPMailer (recommended)

I hope this is useful for others.

Regards,
MCanuto
 


 
Posté : 29/12/2020 1:25 pm
Share:
Retour en haut