Bug 57001 - comma seporated email addresses are interpreted as one address
Summary: comma seporated email addresses are interpreted as one address
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.5.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-08 15:10 UTC by Aaron Peterson
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Peterson 2003-04-08 15:10:06 UTC
Version:           1.5.1 (using KDE 3.1.1)
Installed from:    Gentoo
Compiler:          gcc version 3.2.2 20030322 (Gentoo Linux 1.4 3.2.2-r2)
OS:          Linux (i686) release 2.4.20-gaming-r1

email@domain1.com,email@domain2.com

also
email@domain1.com;email@domain2.com

are treated as single email addresses!
AND NO ERROR MESSAGE

I LOST WORK due to this.
DATA LOSS
UNEXPECTED

if you guys are going to be strict to
"cowman"<cowman@foo.com>,"mrmoo"<mrmoo@foo2.com>

you should freakin give an error message or something when somebody used to outlook express or anyother email program use your software.

I'm in rant mode i'm so irritated.
So, this bug report is not like the "Closed" bugs that are similar.
It is asking you to give an error message/fix the stupid problem cause nobody in their right minds care about "foo"<fooyou@you.co.uk>,"moo"<moocow@qux.com>
Comment 1 Ingo Klöcker 2003-04-08 16:12:39 UTC
email@domain1.com,email@domain2.com is definitely not treated as single email address. 
And why are you shouting at us that you lost work? How did you lose work? 
 
Anyway, I don't really understand what you are talking about. Maybe you should restate the 
problem after you have cooled down a little bit. Please tell us exactly what you did so that we 
can reproduce and fix the problem. 
 
Comment 2 Aaron Peterson 2003-04-10 09:55:49 UTC
sorry for being so... shouty. 
 
My email doesn't send regularly from kmail, and I just plain don't recieve any error message about 
it not actually being sent. 
 
and then I saw a bug while trying to report this one that said "if you want to use semi-colon 
seporated email addresses, sorry you can't it's wrong, use "name''<email@address.com> to send 
to multiple people. 
 
Kmail treats my email1@domain1.com;email2@domain2.com as one email address!   and if it is 
wrong to do that, it should complain that it is an invalid email address and to fix it.  not just pass 
it on down the system, leaving me none the wiser. 
 
(ps, I replied to your email a while ago... but ... it didn't sent! surprise surprise) 
 
I know this could be something to do with my sendmail... but... i should at least get an error 
message saying that it didn't send. 
Comment 3 Stephan Kulow 2003-09-24 21:50:46 UTC
did you specify this in the composer or as your sender address? You still 
didn't give any more details than in the initial report. 
 
 
Comment 4 Stephan Kulow 2003-09-27 12:35:14 UTC
Subject: kdepim/kmail

CVS commit by coolo: 

tell users if they entered data do not seem to make sense
CCMAIL: 57001-close@bugs.kde.org


  M +14 -1     identitydialog.cpp   1.22


--- kdepim/kmail/identitydialog.cpp  #1.21:1.22
@@ -301,5 +301,18 @@ namespace KMail {
     ident.setFullName( mNameEdit->text() );
     ident.setOrganization( mOrganizationEdit->text() );
-    ident.setEmailAddr( mEmailEdit->text() );
+        QString email = mEmailEdit->text();
+        if ( email.isEmpty() || email.contains('@') == 0)
+          KMessageBox::sorry(this,
+                                                 i18n("You didn't specify a valid email address."
+                                                          "You won't create valid emails without such an address."),
+                                                 i18n("No Email Adress"));
+        if (email.contains('@') > 1) {
+          KMessageBox::sorry(this,
+                                                 i18n("Your email address contains two @ characters,"
+                                                          "which most email servers do not accept."
+                                                          "You won't create valid emails without changing your address."),
+                                                 i18n("No Email Adress"));
+        }
+    ident.setEmailAddr( email );
     // "Advanced" tab:
     ident.setPgpIdentity( mPgpKeyRequester->keyIDs().first() );


Comment 5 Aaron Peterson 2003-11-12 13:51:10 UTC
Subject: Re:  comma seporated email addresses are interpreted as one address

It's when you make a message in the composer, and it shows up in the sent 
items browser?

To replicate:
write a coma delimeted list of email addresses (or space, or anything else 
that normally works as delimeters)
in the To: field
or the CC: field
etc.

watch the sent mail have strange combined email addresses


Last time I tested it it sent the email, but the string in the to field still 
shows up as one long malformed siamese email address in the sent items 
folder.

example of a replication:

To: alpeterson@wsu.edu, joesmith@fakeaddress.com jimmy@fakeaddress.com	
susan@fakeaddress.com; smith@fakeaddress.com, cowman@meatfactory.fake.co.com

Or something like that, and you'll find that many of the email addresses stick 
together.  (I think that the semicolon actually works as a delimiter)

But all whitespace should come up as a delimiter...
and it is fairly confusing to have email addresses come up as 
<emailuser@domain.com> when looking through sent items and replying to a 
message.



> http://bugs.kde.org/show_bug.cgi?id=57001
>
> ------- Additional Comments From coolo@kde.org  2003-09-24 21:50 -------
> did you specify this in the composer or as your sender address? You still
> didn't give any more details than in the initial report.