6.0.0-alpha14
6/25/25

[#5358] $pref['mail_domain'] / $conf['maildomain'] not being appended to unqualified addresses
Summary $pref['mail_domain'] / $conf['maildomain'] not being appended to unqualified addresses
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners Horde Developers (at) , slusarz (at) horde (dot) org
Requester liamr (at) deathstar (dot) org
Created 05/15/2007 (6616 days ago)
Due
Updated 05/30/2007 (6601 days ago)
Assigned 05/26/2007 (6605 days ago)
Resolved 05/30/2007 (6601 days ago)
Github Issue Link
Github Pull Request
Milestone IMP 4.2
Patch No

History
05/30/2007 03:54:02 PM Michael Slusarz Comment #5
State ⇒ Resolved
Reply to this comment
It does seem to fix the issue, but it lacks the visual cue provided
by previous versions, and I think users will notice that... which
could be potentially confusion / generate complaints.

Earlier versions used javascript to tack the default domain onto the
unqualified address on To/Cc/Bcc lines in the message composition
screen.
This request is a duplicate of Ticket #3823.  The bug that was the 
original subject of this ticket has been resolved however.


05/30/2007 03:40:12 PM liamr (at) deathstar (dot) org Comment #4 Reply to this comment
It does seem to fix the issue, but it lacks the visual cue provided by 
previous versions, and I think users will notice that... which could 
be potentially confusion / generate complaints.



Earlier versions used javascript to tack the default domain onto the 
unqualified address on To/Cc/Bcc lines in the message composition 
screen.


05/26/2007 10:58:12 PM Michael Slusarz Comment #3
Assigned to Michael Slusarz
State ⇒ Feedback
Reply to this comment
05/19/2007 04:01:33 AM Chuck Hagenbuch Comment #2
Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
Priority ⇒ 2. Medium
Reply to this comment
This should be fixed before IMP 4.2.
05/15/2007 02:07:01 PM liamr (at) deathstar (dot) org Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ IMP
Summary ⇒ $pref['mail_domain'] / $conf['maildomain'] not being appended to unqualified addresses
Type ⇒ Bug
Reply to this comment
in 4.0.x, if you gave it an unqualified address, it would tack a 
default maildomain on to it.



IMP 4.2 CVS appears to have a preference for this purpose - 
$pref['mail_domain'], which is described as..



    When sending mail or expanding addresses, what domain should we

    append to unqualified addresses (email addresses without "@")?



There's also a field in config/servers.php that contains a default 
mail domain ( $conf['maildomain'] / $_SESSION['imp']['maildomain']), 
which is described as..



     This will also be used to complete unqualified addresses when 
composing mail.



Nothing appears to actually using these values.  Instead, if you try 
sending a message with an unqualified address, you get..



    There was an error sending your message: Validation failed for: joeuser@



Seems like the change would go in imp/lib/Imple/ContactAutoCompleter.php

Saved Queries