Bug 458730

Summary: Using a distribution list as CC or BCC ends up in a Message like "Die von Ihnen eingegebene E-Mail-Adresse ist ungültig, da sie keinen "." enthält. Wenn Sie Ihre Adresse nicht ändern, erzeugen Sie fehlerhafte E-Mails"
Product: [Applications] kmail2 Reporter: anbrep
Component: commands and actionsAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.21.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description anbrep 2022-09-05 06:33:33 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Create new E-Mail
2. Put in an existing  Distribution list as CC or BCC
3. Try to send the E-Mail

OBSERVED RESULT
After trying to send the E-Mail a new window "Invalid E-Mail Address - Kontact" is being opened. The windows shows a text like

"#TEST@<hostname>

Die von Ihnen eingegebene E-Mail-Adresse ist ungültig, da sie keinen "." enthält. Wenn Sie Ihre Adresse nicht ändern, erzeugen Sie fehlerhafte E-Mails"

>>Remark: #TEST is a distribution list and the E-Mail couldn't be send!

EXPECTED RESULT
E-Mail should be send.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: OpenSuse Tumbleweed
(available in About System)
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION