Cant connect to Office365 SMTP via PHPmailer

后端 未结 1 811
盖世英雄少女心
盖世英雄少女心 2021-01-24 07:19

i have problem to connect through smtp to office365. I read all tips here but nothing help.

Debug:

2018-05-16 08:12:52   Conne         


        
相关标签:
1条回答
  • 2021-01-24 08:07

    You have to enable it in o365 admin panel, then wait 3 minutes and done

    also check $mail->SMTPAuth = true;

    Use the Microsoft 365 admin center to enable or disable SMTP AUTH on specific mailboxes

    Open the Microsoft 365 admin center and go to Users > Active users.
    
    Select the user, and in the flyout that appears, click Mail.
    
    In the Email apps section, click Manage email apps.
    
    Verify the Authenticated SMTP setting: unchecked = disabled, checked = enabled.
    
    When you're finished, click Save changes.
    
    0 讨论(0)
提交回复
热议问题