[imp] Forward with H4

Luis Felipe Marzagao lfbm.andamentos at gmail.com
Tue Jul 24 01:01:56 UTC 2012


On Sat, Apr 7, 2012 at 5:51 AM, Alex May <alex at maymay.de> wrote:
>
> ----- Original Message -----
> From: "Vilius Sumskas" <vilius at lnk.lt>
> To: <imp at lists.horde.org>
> Sent: Saturday, April 07, 2012 8:37 AM
> Subject: Re: [imp] Forward with H4
>
>
> Sveiki,
>
> Saturday, April 7, 2012, 7:50:50 AM, you wrote:
>
>> Hello,
>
>> Still i am facing issue with imp. When i forward an email with both(body &
>> attachment). It's wrapped my email into an link. In that
>> case, Receiver find an attachment. That attachment having both (body &
>> attachment). Can any body let me know what it pointer need to be set in my
>> horde4 so that my horde start behaving like standard webmail.
>
> If want to modify the message for the receiver, don't use forward, use
> Edit as New.
>
> --
> Best regards,
>  Vilius
>
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
> Edit as new does not have the sort of functionality that a normal user expects from forward either. I know it might be standards
> compliant, but if most email programs are not compliant, then the standard isn't a real standard.
> The problem with edit as new is that it doesn't put the original headers into the email body with the original text.
> I raised this a number of times.

If you want "edit as new" to behave the way you mentioned, you could
manually edit the file imp/compose-dimp.php in line ~ 209 to something
like:

case 'editasnew':
    try {
        $result =
$imp_compose->resumeDraft(IMP::$mailbox->getIndicesOb(IMP::$uid),
false);

        if ($result['mode'] == 'html') {
            $show_editor = true;
        }
        $fwdtext =
$imp_compose->forwardMessageText($imp_ui->getContents($vars),
array('format' => 'text'));
        $msg = $fwdtext['body'];
        if (!is_null($result['identity']) &&
            !$prefs->isLocked('default_identity')) {
            $identity->setDefault($result['identity']);
        }
        $header = array_merge($header, $result['header']);
        $fillform_opts['priority'] = $result['priority'];
        $fillform_opts['readreceipt'] = $result['readreceipt'];
    } catch (IMP_Compose_Exception $e) {
        $notification->push($e);
    }
    $get_sig = true;
    break;

It´s an ugly hack, but at least for me it was the only way to keep
using horde in my company.

Hope it helps.

>
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org


More information about the imp mailing list