6.0.0-git
2020-01-29

[#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 2007-05-15 (4642 days ago)
Due
Updated 2007-05-30 (4627 days ago)
Assigned 2007-05-26 (4631 days ago)
Resolved 2007-05-30 (4627 days ago)
Milestone IMP 4.2
Patch No

History
2007-05-30 15:54:02 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.


2007-05-30 15:40:12 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.


2007-05-26 22:58:12 Michael Slusarz Comment #3
Assigned to Michael Slusarz
State ⇒ Feedback
Reply to this comment
2007-05-19 04:01:33 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.
2007-05-15 14:07:01 liamr (at) deathstar (dot) org Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ $pref['mail_domain'] / $conf['maildomain'] not being appended to unqualified addresses
Queue ⇒ IMP
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