wneessen / go-mail

📧 Easy to use, yet comprehensive library for sending mails with Go
https://go-mail.dev
MIT License
567 stars 44 forks source link

Support lowercase username and password challenge #282

Closed lipangeng closed 4 weeks ago

lipangeng commented 4 weeks ago

Some email services, such as smtp.163.com and smtpdm.aliyun.com, return "334 dXNlcm5hbWU6" for "username:". For compatibility, support for "username:" and "password:" has been added.

wneessen commented 4 weeks ago

That's an interesting behaviour. Thanks @lipangeng, appreciate the PR! LGTM.

codecov[bot] commented 4 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.88%. Comparing base (637f5e0) to head (647ff86). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #282 +/- ## ========================================== - Coverage 85.27% 79.88% -5.39% ========================================== Files 25 25 Lines 2078 2078 ========================================== - Hits 1772 1660 -112 - Misses 181 298 +117 + Partials 125 120 -5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.