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

Re:



Hello,

>>>>> In the Message: [Wanderlust English ML: No.03810]
>>>>>   with the date of Fri, 30 Apr 2010 00:24:28 -0700
>>>>> [Aprajit] == Aprajit Mahajan <amahajan@stanford.edu> has written:

Aprajit> I'm trying to get wanderlust to blind carbon copy a particular email 
Aprajit> address for any email that I write and send (it's a back up email 
Aprajit> address where I back up all my sent-mail). What is the cleanest way to 
Aprajit> achieve this?

(defvar wl-draft-backup-folder "+~/var/Mail/backup")
(defun wl-draft-backup ()
  (wl-folder-confirm-existence
   (wl-folder-get-elmo-folder wl-draft-backup-folder))
  (elmo-folder-append-buffer
   (wl-folder-get-elmo-folder wl-draft-backup-folder)
   '(read)))
(add-hook 'wl-mail-send-pre-hook 'wl-draft-backup)

HTH,

Regards,

---
 野宮