Username is null error

Created on 11 June 2025, about 2 months ago

Problem/Motivation

Error after Login via Microsoft in /admin/config/system/mailer/office365

TypeError: Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport::setUsername(): Argument #1 ($username) must be of type string, null given, called in /symfony_mailer_office365/src/Office365EsmtpTransportFactory.php on line 56 in Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport->setUsername() (line 77 of /vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php)

Steps to reproduce

1. Install module
2. Add required information into fields
3. Click 'Login via Microsoft'
4. Sign in via Microsoft Office 365 interface
5. Automatically redirect back to home
6. Open back /admin/config/system/mailer/office365
7. State is still not functional

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡²πŸ‡ΎMalaysia akmalfikri

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024