[Tickets #12352] unable to send mail with attachments

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Jun 13 11:48:49 UTC 2013


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/12352
------------------------------------------------------------------------------
  Ticket           | 12352
  Erstellt Von     | weis at kip.uni-heidelberg.de
  Zusammenfassung  | unable to send mail with attachments
  Warteschlange    | IMP
  Version          | 6.1.1
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


weis at kip.uni-heidelberg.de (2013-06-13 11:48) hat geschrieben:


while composing a new mail, it is possible to add attachment files.
They are shown in the attachment list.
But if want to send the mail an error message appears:
   Unable to open VFS file.
The same happens, if i click on the filename.

horde version 5.1.0
imp version 6.1.1

horde is configured to use 'files on local system' for the VFS
In imp it doesn't matter if i switch on the usage of VFS or not.

ERROR message in the logfile:
   [imp] Unable to open VFS file. [pid 24145 on line 68 of  
"/data/horde4/imp/lib/Compose/Attachment/Storage/Vfs.php"]

  maybe interesting:
    the message implies that there should be a file in
    [VFS]  .horde/imp/attachments/weis/51b9ac14-5898-49f4-b40a-5b3281ce7ff3
    But this does not exist.
    In fact, there is a file
    [VFS]  .horde/imp/compose/51b9ac14-5898-49f4-b40a-5b3281ce7ff3
    which is the file i have uploaded

   if i make a soft-link from   [VFS]  .horde/imp/attachments/weis/
   to [VFS]  .horde/imp/compose/51b9ac14-5898-49f4-b40a-5b3281ce7ff3
   the mail is sent without error message




Error Message shown, if i click on the filename:


Unable to open VFS file.

1. IMP_Compose_View->composeAttachPreview() /data/horde4/imp/view.php:45
2. IMP_Compose_Attachment->getPart() /data/horde4/imp/lib/Compose/View.php:38
3. IMP_Compose_Attachment_Storage_Vfs->read()  
/data/horde4/imp/lib/Compose/Attachment.php:131
4. IMP_Compose_View->composeAttachPreview() /data/horde4/imp/view.php:45
5. IMP_Compose_Attachment->getPart() /data/horde4/imp/lib/Compose/View.php:38
6. IMP_Compose_Attachment_Storage_Vfs->read()  
/data/horde4/imp/lib/Compose/Attachment.php:131
7. Horde_Vfs_File->readStream()  
/data/horde4/imp/lib/Compose/Attachment/Storage/Vfs.php:61

Details
Die vollständige Fehlermeldung wurde in Hordes Logdatei geschrieben  
und für Administratoren weiter unten ausgegeben. Benutzer, die keine  
Administratoren sind, bekommen diese Details nicht zu sehen.

IMP_Compose_Exception Object
(
     [encrypt] =>
     [tied_identity] =>
     [_logged:protected] =>
     [details] =>
     [logged] => 1
     [_logLevel:protected] => 0
     [message:protected] => Unable to open VFS file.
     [string:Exception:private] =>
     [code:protected] => 0
     [file:protected] =>  
/data/horde4/imp/lib/Compose/Attachment/Storage/Vfs.php
     [line:protected] => 68
     [trace:Exception:private] => Array
         (
             [0] => Array
                 (
                     [file] => /data/horde4/imp/lib/Compose/Attachment.php
                     [line] => 131
                     [function] => read
                     [class] => IMP_Compose_Attachment_Storage_Vfs
                     [type] => ->
                     [args] => Array
                         (
                         )

                 )

             [1] => Array
                 (
                     [file] => /data/horde4/imp/lib/Compose/View.php
                     [line] => 38
                     [function] => getPart
                     [class] => IMP_Compose_Attachment
                     [type] => ->
                     [args] => Array
                         (
                             [0] => 1
                         )

                 )

             [2] => Array
                 (
                     [file] => /data/horde4/imp/view.php
                     [line] => 45
                     [function] => composeAttachPreview
                     [class] => IMP_Compose_View
                     [type] => ->
                     [args] => Array
                         (
                             [0] => 1
                             [1] => 1
                             [2] =>
                         )

                 )

         )

     [previous:Exception:private] => Horde_Vfs_Exception Object
         (
             [details] =>
             [logged] =>
             [_logLevel:protected] => 0
             [message:protected] => Unable to open VFS file.
             [string:Exception:private] =>
             [code:protected] => 0
             [file:protected] => /usr/share/php/Horde/Vfs/File.php
             [line:protected] => 135
             [trace:Exception:private] => Array
                 (
                     [0] => Array
                         (
                             [file] =>  
/data/horde4/imp/lib/Compose/Attachment/Storage/Vfs.php
                             [line] => 61
                             [function] => readStream
                             [class] => Horde_Vfs_File
                             [type] => ->
                             [args] => Array
                                 (
                                     [0] => .horde/imp/attachments/weis
                                     [1] =>  
51b9ac14-5898-49f4-b40a-5b3281ce7ff3
                                 )

                         )

                     [1] => Array
                         (
                             [file] =>  
/data/horde4/imp/lib/Compose/Attachment.php
                             [line] => 131
                             [function] => read
                             [class] => IMP_Compose_Attachment_Storage_Vfs
                             [type] => ->
                             [args] => Array
                                 (
                                 )

                         )

                     [2] => Array
                         (
                             [file] => /data/horde4/imp/lib/Compose/View.php
                             [line] => 38
                             [function] => getPart
                             [class] => IMP_Compose_Attachment
                             [type] => ->
                             [args] => Array
                                 (
                                     [0] => 1
                                 )

                         )

                     [3] => Array
                         (
                             [file] => /data/horde4/imp/view.php
                             [line] => 45
                             [function] => composeAttachPreview
                             [class] => IMP_Compose_View
                             [type] => ->
                             [args] => Array
                                 (
                                     [0] => 1
                                     [1] => 1
                                     [2] =>
                                 )

                         )

                 )

             [previous:Exception:private] =>
         )

)







More information about the bugs mailing list