<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Link attachment couldn&#039;t be downloaded</title> 
  <pubDate>Fri, 10 Apr 2026 19:28:24 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9972</link> 
  <atom:link rel="self" type="application/rss+xml" title="Link attachment couldn&#039;t be downloaded" href="https://bugs.horde.org/ticket/9972/rss" /> 
  <description>Link attachment couldn&#039;t be downloaded</description> 
 
   
   
  <item> 
   <title>Hello,

There is a problem with H4 and linked attachment. </title> 
   <description>Hello,

There is a problem with H4 and linked attachment. 

This is not fixed en GIT version:
http://git.horde.org/co.php/imp/attachment.php?rt=horde-git&amp;ws=1&amp;r=8cc572d2fc648758a682d4a19742c50bcb36e62e

The link sent is http://address/imp/attachment.php?u=mail&amp;t=timestamp&amp;f=file 

(i can confirm it with imp/lib/Compose.php file: http://git.horde.org/co.php/imp/lib/Compose.php?rt=horde-git&amp;ws=1&amp;r=22d8cbacb6182e2c36745e794696340337e2d93f lines 2449-&gt;2463)

and the expected is user_name=mail&amp;time_stamp=timestamp&amp;filename=file




Solution could be:

imp/attachment.php (add lines between line 30 and line 31)
$vars-&gt;mail_user = $vars-&gt;u;
$vars-&gt;time_stamp = $vars-&gt;t;
$vars-&gt;file_name = $vars-&gt;f;

also there is a bug in line 31:
if (!$vars-&gt;mail_user || !$vars-&gt;$time_stamp || !$vars-&gt;file_name) {

$vars-&gt;time_stamp instead of $vars-&gt;$time_stamp




Furthermore, there is a problem sending a mail when attachment is downloaded

Solution could be:

imp/attachment.php
Change line 107: $msg-&gt;send($mail_address, $msg_headers);
with line: $msg-&gt;send($mail_address, $msg_headers, $GLOBALS[&#039;injector&#039;]-&gt;getInstance(&#039;IMP_Mail&#039;));


</description> 
   <pubDate>Mon, 25 Apr 2011 15:18:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9972#t64116</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9972: F</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9972: Fix viewing linked attachments

 4 files changed, 12 insertions(+), 5 deletions(-)
http://git.horde.org/horde-git/-/commit/a874ce8a6ee5dfe27dd871fbea5508a0ff9d7c9b</description> 
   <pubDate>Mon, 25 Apr 2011 19:21:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9972#t64122</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
