6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12448] IMP using horde credentials when not desired
*
Your Email Address
*
Spam protection
Enter the letters below:
.___..__ . ..__..__. | [ __|\/|[__]| | | [_./| || ||__\
Comment
>> What Jan said. You have provided traces of 2 completely different >> SMTP object instantiations. The first is caused by the Alarm code >> (it has nothing to do with IMP). >> >> So there is no expectation that these two should be identical. > > Yes, as I posted, one trace is from when I click "new message" and > the other - the one I think matters - is when I click "send". I just > showed them both because I don't really know what's going wrong. > > What I realized is this. The username and password parameters are > passed correctly - when I click send - until the array_merge > performed on lines 45-48 of imp/lib/Factory/Mail.php. After that they > get replaced by horde login credentials. > > So I commented out this merge and things started working again. > Mailer credentials defined in horde settings are now being used to > send emails from IMP and I stopped getting the gmail authentication > erros: > > if ($transport == 'smtp') { > /*Commented out as temporary FIX > $params = array_merge( > $params, > $injector->getInstance('IMP_Imap')->config->smtp > ); > */ > ... > > https://github.com/horde/horde/blob/master/imp/lib/Factory/Mail.php#L45-L48 > > In fact, I have been running the system like this for days now, > because for this set up I cannot use individual usernames/passwords > for sending emails. > > If I can perform any other tests, please instruct me. > > Hope it helps.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers