Utilizing the Generics Table

Benjamin J. Higgins bhiggins@dovetailinternet.com
Mon, 27 Aug 2001 15:32:52 -0400


[I am using the current CVS of Horde/IMP]

Question:  I have the prefs['replyto_addr'] and prefs['from_addr'] variables =
set to false and locked - so that IMP makes a best guess on the email address =
of the user.  Is there a way that IMP could query the genericstable file that =
SendMail uses for the email address that is displayed?

My email server setup will automatically change the email address from what IMP =
guesses to the proper address - but the display may confuse most novice =
users....

For example:
    I login to mail.dovetailinternet.com with the username jdoe. =20
    When composing an email, IMP displays that I am "John Doe =
<jdoe@dovetailinternet.com>" (thanks to the new $conf['hooks']['fullname'] =
function). =20
    But when the email is sent, SendMail rewrites the email address to =
jdoe@mydovetail.net because of the genericstable settings.
    Ideally, I'd like "John Doe <jdoe@mydovetail.net>" to be displayed instead =
. . .

Any ideas?
--
Ben Higgins          |      Dovetail Internet Technologies, LLC
906 Boston Turnpike  |         "Internet Solutions That Fit"
Shrewsbury, MA 01545 |  Phone: (508) 845-6465    FAX: (508) 845-6447