6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/25/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6732] Sending mail to contact lists doesn't work
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ .___ __..__. |\/|[__)[__ (__ | | | || [___.__)|__|
Comment
> If I create a contact list in Turba and add the list as the recipient > in IMP compose window, what ends up in the To: header is something > like "listname: address1@foo.tld, address2@bar.tld, > address3@baz.tld;" - if I add another list from address book, it goes > to the end of the previous one, separated by a comma (so there'll be > a semicolon and a comma in the middle). If I try to send the message, > it fails - SMTP server complains about missing RCPT (5.0.0). I looked > for the bug in Compose.php - apparently, the recipientList function > receives the string as-is in $hdr['to'], and the $arr = > array_filter(array_map('trim', MIME::rfc822Explode($hdr[$key], > ','))); ends up having as array items the "listname: > address1@foo.tld, address2@bar.tld, address3@baz.tld;" parts (first > item would be "listname: address1@foo.tld, address2@bar.tld, > address3@baz.tld;" > > and second item would be "listname2: address4@foo.tld, > address5@bar.tld, address6@baz.tld;" if the original to header > would've been "listname: address1@foo.tld, address2@bar.tld, > address3@baz.tld;, "listname2: address4@foo.tld, address5@bar.tld, > address6@baz.tld;". These items then get fed to > IMP::parseAddressList(), which results in an object with the empty > string in $ob->mailbox and the default sender domain in $ob->host... > So each contact list ends up as "@<default domain>". I wonder which > part in the control chain should parse the "listname: > address1@foo.tld, address2@bar.tld, address3@baz.tld;" parts..
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