[imp] smartphone view and spam button

Thomas Jarosch thomas.jarosch at intra2net.com
Tue Oct 16 07:55:44 UTC 2012


On Monday, 15. October 2012 22:24:42 barış tombul wrote:
> imp/config/mime_drivers.php ( html > inline > true)
> 
>  /* HTML driver settings */
>     'html' => array(
>         /* NOTE: Inline HTML display is turned OFF by default. */
>        * 'inline' => true,*
>         'handles' => array(
>             'text/html'
>         ),
>         'icons' => array(
>             'default' => 'html.png'
>         ),
> 
> 
> ...
> 
> 
> I don't have iphone ... I have ipod 4g and I use ios 5 , But html mails
> does not properly on the right side ? There is no problem with my ipad 2
> ((it uses ios 4.0 ) , Do you have any idea ? maybe resolutions differences
> with two device?

Sorry, I don't have any of those devices at hand.

I asked you earlier: Does it also happen with long, non-HTML email?

> And , When I sign spam  emails , spamassassin marks as spam, It doesn't go
> to spam folder , However It seems on the spam database ? How to enable
> "delete_spam_after_report'"
> 
> imp/config/prefs.php
> 
> ...
> 
> $_prefs['delete_spam_after_report'] = array(
>     'value' => 0,
>     'type' => 'enum',
>     'enum' => array(),
>     'desc' => _("What should we do with messages after they have been
> reported as spam?"),
>     'help' => 'prefs-delete_spam_after_report',
>     'on_init' => function($ui) {
>         $enum = array(
>             0 => _("Nothing"),
>             1 => _("Delete message")
>         );
>         if
> (!$GLOBALS['injector']->getInstance('IMP_Factory_Imap')->create()->access(
> IMP_Imap::ACCESS_FOLDERS)) {
>             $enum[2] = _("Move to spam mailbox");
>         }
>         $ui->prefs[*'delete_spam_after_report*']['enum'] = $enum;
>     }
> );

Does the line really say

"$ui->prefs[*'delete_spam_after_report*']['enum'] = $enum;"

?

Remove the "*" in there, they don't belong there. It should look like:

"$ui->prefs['delete_spam_after_report']['enum'] = $enum;"

Thomas



More information about the imp mailing list