6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/17/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9099] HTML multipart/alternative should be a pref or mime_driver conf
*
Your Email Address
*
Spam protection
Enter the letters below:
. .__..__ .__ . . | | || \[__)|_/ |___|__\|__/| \| \
Comment
> This is a delicated issue, but I think this is very important for > IMP.. I will try to explain using my terrible english (lol).. > > The IMP uses by default multipart/alternative for images and this > creates a "trouble" in networks where the server can't access > internet (outgoing port 80) ... Now I'm working at a company where we > have this problem, the webserver can't access internet... > > Analyzing the code of IMP and trying to find a solution I've > identified the following item: > > "./imp/lib/Compose.php" Line 1081 > if (empty($options['nofinal'])) { > /* Any image links will be downloaded and appended to the > * message body. */ > $textpart->addPart($this->_convertToMultipartRelated($htmlBody)); > } else { > $textpart->addPart($htmlBody); > } > > > As my server can't access internet and don't have a proxy server, IMP > always returns "connect timed out!" when try to get images and > doesn't send the message. > > I propose that this be done by conf file, for example: > > if ($conf['compose']['usemultipart']) { > /* Any image links will be downloaded and appended to the > * message body. */ > $textpart->addPart($this->_convertToMultipartRelated($htmlBody)); > } else { > $textpart->addPart($htmlBody); > } > > Sorry if this already exists in IMP, I couldn't find and I'm sure > that it is a good discussion. >
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