[imp] Attachments widget missing

Otto Stolz Otto.Stolz at uni-konstanz.de
Thu Jul 27 07:00:05 PDT 2006


Hello,

currently, I am trying my luck with Horde 3.1.2 and Imp H3 4.1.2.

In the message composition window, there is no possibility
to specify an attachment.

Though the help info says:
> Message Composition: Options
...
> Click "Attachments" to go to the bottom of the page
> where you can attach files to this message.
there is no "Attachments" Button in the options field,
nor any provision to attach anything, at the bottom of
the page.

Most probably, a configuration error, but then I do not
understand how to configure Imp 4 for allowing attachments.

I want the attachment to be uploaded to the PHP temporary
storage, and then appended to the respective message when
it is sent. (This same scheme works well for us under
Imp 3.2.2.)

Particular questions:
- What may be wrong with my configuration (cf. infra)?
- What is a VFS, and in particular the Horde VFS?
- What does Imp when you allow the users to send
   attachments as links, particularly, where is the
   attachment stored, and for how long?

Thanks, in advance, for any hint,
   Otto Stolz


----------- Excerpt from horde/imp/config/conf.php --------------------
$conf['compose']['allow_cc'] = true;
$conf['compose']['allow_bcc'] = true;
$conf['compose']['allow_receipts'] = true;
$conf['compose']['special_characters'] = true;
$conf['compose']['use_vfs'] = false;
$conf['compose']['link_attachments'] = false;
$conf['compose']['add_maildomain_to_unexpandable'] = true;
$conf['compose']['attach_size_limit'] = '51904512';
$conf['compose']['attach_count_limit'] = '0';
--------End Excerpt from horde/imp/config/conf.php --------------------

Note: I have also tried
   $conf['compose']['use_vfs'] = true;
, to no avail.


----------- Excerpt from horde/imp/config/prefs.php -------------------
------------- (long lines edited for readability) ---------------------
// Message Composition preferences

// default outgoing mail domain and address completion
$_prefs['mail_domain'] = array(
     'value' => 'uni-konstanz.de',
     'locked' => true,
     'shared' => false,
     'type' => 'text',
     'desc' => _("When sending mail or expanding addresses,
                 what domain should we append to unqualified addresses
                 (email addresses without \"@\")?"));

// compose in a separate window?
$_prefs['compose_popup'] = array(
     'value' => 0,
     'locked' => false,
     'shared' => false,
     'type' => 'checkbox',
     'desc' => _("Compose messages in a separate window?"));

// If browser supports the HTML editor, should we compose in HTML mode by
// default?
$_prefs['compose_html'] = array(
     'value' => 0,
     'locked' => true,
     'shared' => false,
     'type' => 'checkbox',
     'desc' => _("Compose messages with an HTML GUI by default
               (if browser supports the feature)?"));

// Link to the stationery preferences.
$_prefs['stationery_link'] = array(
     'type' => 'link',
     'url' => 'stationery.php',
     'desc' => _("Create stationery and form responses."));

$_prefs['stationery'] = array(
     'value' => 'a:0:{}',
     'locked' => false,
     'shared' => false,
     'type' => 'implicit');

// Check spelling before sending the message?
$_prefs['compose_spellcheck'] = array(
     'value' => 0,
     'locked' => true,
     'shared' => false,
     'type' => 'checkbox',
     'desc' => _("Check spelling before sending a message?"));

// number of spelling corrections per screen
$_prefs['num_words'] = array(
     'value' => 3,
     'locked' => false,
     'shared' => false,
     'type' => 'number',
     'desc' => _("Spelling errors per screen when spell checking."));

// confirm successful sending of messages?
$_prefs['compose_confirm'] = array(
     'value' => 1,
     'locked' => false,
     'shared' => false,
     'type' => 'checkbox',
     'desc' => _("Display confirmation after sending a message?"));

// Should the original message be included?
$_prefs['reply_quote'] = array(
     'value' => 1,
     'locked' => false,
     'shared' => false,
     'type' => 'checkbox',
     'desc' => _("Include original message in a reply?"));

// Reply to header summary - leave a brief summary of the header inside
// the message.
$_prefs['reply_headers'] = array(
     'desc' => _("Include a brief summary of the header in a reply?"),
     'value' => 0,
     'locked' => false,
     'shared' => false,
     'type' => 'checkbox');

// How should we attribute quoted lines in a reply
$_prefs['attrib_text'] = array(
     'value' => _("Quoting %f:"),
     'locked' => false,
     'shared' => false,
     'type' => 'text',
     'desc' => _("How to attribute quoted lines in a reply"),
     'help' => 'prefs-attrib_text');

// closing window after saving a draft?
$_prefs['close_draft'] = array(
     'value' => 0,
     'locked' => false,
     'shared' => false,
     'type' => 'checkbox',
     'desc' => _("Should the compose window be closed
                  after saving a draft?"));

// save drafts as seen or unseen
$_prefs['unseen_drafts'] = array(
     'value' => 0,
     'locked' => true,
     'shared' => false,
     'type' => 'checkbox',
     'desc' => _("Save drafts as unseen?"));

// allow the user to add a "X-Priority" header when composing messages?
$_prefs['set_priority'] = array(
     'value' => 0,
     'locked' => true,
     'shared' => false,
     'type' => 'checkbox',
     'desc' => _("Set the X-Priority header when composing messages?"));

// Select widget for the possible charsets
$_prefs['sending_charset'] = array(
     'value' => '',
     'locked' => false,
     'shared' => true,
     'type' => 'enum',
     'enum' => array_merge(array('' => _("Default")),
                           $GLOBALS['nls']['encodings']),
     'desc' => _("Your default charset for sending messages:"));

// Select widget for the 'default_encrypt' preference
$_prefs['encryptselect'] = array('type' => 'special');

// The default encryption method to use when sending messages
$_prefs['default_encrypt'] = array(
     'value' => IMP_ENCRYPT_NONE,
     'locked' => false,
     'shared' => false,
     'type' => 'implicit');

// Save attachments when saving in sent-mail folder?
// Save attachments when saving in sent-mail folder?
$_prefs['save_attachments'] = array(
     'value' => 'prompt_no',
     'locked' => false,
     'shared' => false,
     'type' => 'enum',
     'enum' => array('always' => _("Always save attachments"),
                     'prompt_yes' => _("Prompt every time
                                       an attachment is sent;
                                       default to YES"),
                     'prompt_no' => _("Prompt every time
                                       an attachment is sent;
                                       default to NO"),
                     'never' => _("Never save attachments")),
     'desc' => _("When saving sent-mail,
                  should we save attachment data?"),
     'help' => 'prefs-save_attachments');

// Disposition Notification Preferences
$_prefs['disposition_request_read'] = array(
     'value' => 'never',
     'locked' => false,
     'shared' => false,
     'type' => 'enum',
     'enum' => array('never' => _("Never"),
                     'ask' => _("Ask"),
                     'always' => _("Always")),
     'desc' => _("Request read receipts?"),
     'help' => 'prefs-disposition_request_read'
);

// End Message Composition preferences
--------End of Excerpt from horde/imp/config/prefs.php ----------------


------------- Excerpt from horde/config/conf.php ----------------------
$conf['cache']['default_lifetime'] = 1800;
$conf['cache']['params']['dir'] = Horde::getTempDir();
$conf['cache']['params']['prefix'] = 'h3test';
$conf['cache']['params']['gc'] = 86400;
$conf['cache']['driver'] = 'file';
$conf['token']['driver'] = 'none';
...
$conf['vfs']['params']['vfsroot'] = '/tmp';
$conf['vfs']['type'] = 'file';
----------End of Excerpt from horde/config/conf.php -------------------



More information about the imp mailing list