6.0.0-beta1
9/23/25

[#864] Incorrect parsing of email address fields in compose
Summary Incorrect parsing of email address fields in compose
Queue IMP
Queue Version 3.2.6
Type Bug
State Not A Bug
Priority 3. High
Owners Horde Developers (at)
Requester postmaster (at) eng (dot) uts (dot) edu (dot) au
Created 11/20/2004 (7612 days ago)
Due
Updated 12/08/2004 (7594 days ago)
Assigned 11/25/2004 (7607 days ago)
Resolved 12/08/2004 (7594 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/08/2004 09:49:02 PM postmaster (at) eng (dot) uts (dot) edu (dot) au Comment #3 Reply to this comment
I except the user to be told that they can't type/copy and paste email

addresses.



The problem is that imp just excepts it, copies the message to the 
Sent folder,

ie acts like the message has been sent, but in all reality none of the mail

rcpts get the message.



Like you said, because you can't guess what a user wanted it can't really be

fixed on the PEAR side, IMP needs to check that there is a matched 
number of <>

bracekts, and if not report an error via java script, like is done when no

email addresses are supplied. Well, that is what I thought would be a

reasonable solution.
12/08/2004 01:30:48 PM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
What do you expect us to do if the users enter wrong email addresses? 
Do a wild guess what he intended?



It's Mail_RFC822 from PEAR's Mail package that's causing this anyway, 
so try to file a bug there if you still think that this not the 
desired behaviour.
11/25/2004 02:07:12 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
11/20/2004 02:00:08 AM postmaster (at) eng (dot) uts (dot) edu (dot) au Comment #1
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Incorrect parsing of email address fields in compose
Queue ⇒ IMP
Reply to this comment
Email addresses that have mismatched <> characters cause this bug.   
When email addresses with mismatched <> are passed to 
MIME::encodeAddress an empty string is returned.  When this mail is 
sent it gets mailed to ""@localhost, which in my site makes it to 
postmaster. We have added in some debuging code in compose which logs 
the values of key varibles to findout the cause. An example of a 
malformed address would be: joe.bloggs@eng.uts.edu.au> or   
<joe.bloggs@eng.uts.edu.au

Saved Queries