> Thanks for this :)
> As always, with my install, there are a few problems.
> I am not using 1.4.1 because my install has required lots of tweaking to
> get right. I just copied and plopped ;) the compose.php file.

sorry that i didn't include a 1.4.0 patch... just too busy   ;>

> I get the following error when patching:
> ------------------
> patching file `src/compose.php'
> Hunk #5 FAILED at 1377.
> Hunk #6 succeeded at 1417 (offset 9 lines).
> 1 out of 6 hunks FAILED -- saving rejects to src/compose.php.rej
> ------------------
>
> The custom from is working as it was before (available to all users), if
> this email reaches the list, so not a major problem.
> I am unsure if I have the path correct in the custom from config.php so
> maybe this is why it is not working (and the error patching can be
> ingnored?), though I have tried many variations on the path.

no way, that patch is essential.  not sure why it failed, but the fix is
easy - just manually edit src/compose.php and go to line 1377, find the
end of the global statement, replace the semicolon with a comma and add
"$custom_from;" on the end (or on the next line).  it should end up
looking something like this:

      global $send_to, $send_to_cc, $send_to_bcc, $mailprio, $subject,
$body,
             $username, $popuser, $usernamedata, $identity, $data_dir,
$request_mdn, $request_dr, $default_charset, $color,
$useSendmail,
             $domain, $action, $default_move_to_sent, $move_to_sent,
             $custom_from;
      global $imapServerAddress, $imapPort, $sent_folder, $key;

      $rfc822_header = $composeMessage->rfc822_header;

let me know if it doesn't work.  i can always just send you a pre-patched
file too.

-paul




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to