?? ?? ? ? ?? ??? ???? ???? ???? ??? ? ??? PHPMailer? ????? ???. Office 365 ??? ???? ?? PHPMailer? ??? ??? ??? ????.
???? ??? PHPMailer? ????? ???? ???? ????(?? ???? ??? ????? ???? ??? ?? ?? ???? ???? ?? ??????).
???PHPMailer? smtp.offi ce365.com? ?? ????? ?? ??? ???? ?? ??? ????
??? ?? ? ??? ???? ????. Exchange Online ? Microsoft ?? ??? ???? ? ?? ?? ??? ?? ? ??? ?? ??? ??? ? ????.
TLDR: ?? ??? ???? ??? ?? ???? ?????. ?? ?? "??? SMTP"? ??? ? "???" ? "??? ?? ????" ?? ??? ???? ??????.
?? ???? ???? ?? ??? ??????. ??? ??? ????? ?? ??? ??? ????.
MFA? ???? ?? https://stackoverflow.com/
? ??? ?? ? ???? a/61359150/14148981? ???? ???.???? ??
????? ??? ??? ????. ? ??? ?? ? ?? ??? ?????.
? ???? ? ??? ?? ?? ?? ?? ??:
@nitin? ??? SMTPSecure ????? "tls"? ?? ??? ???? ????.
??? ?? ?????. ?? ??? ??? ?? ??? ? ??? ?? ??? ? ?? ??????.
???