[imp] Sending Full E-Mail address as User for POP3
dimon at intellinetinc.com
dimon at intellinetinc.com
Thu Mar 27 22:11:40 PST 2003
I tweaked /imp/lib/Session.php (somwhere on 100'th line):
/* Determine the unique user name. */
if (Auth::getAuth()) {
$_SESSION['imp']['uniquser'] = Auth::getAuth();
} else {
$_SESSION['imp']['uniquser'] = $_SESSION['imp']['user'];
if (($conf['server']['server_list'] != 'none') &&
!empty($servers[$server]['realm']) && !preg_match("/@/",
$_SESSION['imp']['uniquser'])) {
$_SESSION['imp']['uniquser'] .= '@' . $servers[$server]
['realm'];
} elseif (!empty($args['realm']) && !preg_match("/@/", $_SESSION
['imp']['uniquser'])) {
$_SESSION['imp']['uniquser'] .= '@' . $args['realm'];
}
}
$_SESSION['imp']['user'] = $_SESSION['imp']['uniquser'];
And in your /imp/config/servers.php make sure you properly setup realm to your
default domain.
Good Luck
Dmitry
Quoting Devin Atencio <dreamboy at aros.net>:
>
> I am trying to figure out a way with Horde::IMP so that when I get the
> Username/Password from the IMP that when IMP talks to the POP server
> It sends username at domain.com as the USER part of the pop session. Is
> there an easy way in IMP to make this modification? Any help would
> greatly be appreciated.
>
> Devin Atencio
>
>
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
More information about the imp
mailing list