[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wl-fcc



At Mon, 08 Mar 2010 09:34:06 -0800,
docgnome wrote:
>
> Hi,
> So I've got this in my .wl file
>
> (setq wl-draft-config-matchone t) ;; If non-nil, applied only one element of `wl-draft-config-alist'.
> (setq wl-draft-config-alist
>       '(
>         ((string-match ".*support@cetusa.org" wl-draft-parent-folder)
>          (template . "support")
>          (wl-fcc . "%sent:\"support@cetusa.org\"/clear@secure.emailsrvr.com:993!"))
>         ((string-match ".*cetusa" wl-draft-parent-folder)
>          (wl-fcc . "%sent:\"dkerschner@cetusa.org\"/clear@secure.emailsrvr.com:993!")
>          (template . "Work")
>          )
>         ((string-match ".*dkerschner" wl-draft-parent-folder)
>          (template . "dkerschner"))
>         ((string-match ".*docgnome" wl-draft-parent-folder)
>          (template . "docgnome"))
>         ))
>
> (add-hook 'wl-mail-setup-hook 'wl-draft-config-exec)
>
> Yet when I go to create a draft with my work or support accounts Fcc:
> is not set anywhere that I see. Am I doing something wrong here? I
> also tried putting the fcc setting in the templates I have specified,
> still no dice. What am I doing wrong?

By the time that wl-draft-config-exec runs I believe it is too late to
set wl-fcc. Try using:

  (setq wl-draft-config-alist
        '(
          ((string-match ".*support@cetusa.org" wl-draft-parent-folder)
           (template . "support")
           ("Fcc" . "%sent:\"support@cetusa.org\"/clear@secure.emailsrvr.com:993!"))
  [...]
  ))

instead.

best,
Erik

Attachment: pgpSJwsS1kMHo.pgp
Description: PGP signature