[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Gcc is ignored when sending mail from emacs lisp
From: |
Alexander Baier |
Subject: |
Gcc is ignored when sending mail from emacs lisp |
Date: |
Fri, 10 May 2013 15:40:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hello,
I want to sent mail from emacs lisp code, but the given Gcc-field is not
considered by the send function and thus no mail is put into my "Sent
Items" Group/Folder. When I send a mail from within gnus, everything
works out fine. This is the relevant code:
Sending mail from outside gnus:
--8<---------------cut here---------------start------------->8---
(defun org-tut-send-mail ()
(message-mail "my.email@foo.com"
"[ELISP-TEST] Test"
'(("From" . "my.email@foo.com")
("Gcc" . "nnimap+imap.server.com:\"Sent Items\"")))
(insert "SOME TEXT")
(message-send-and-exit))
--8<---------------cut here---------------end--------------->8---
The above snippet sends the Email just fine, but nothing gets stored in
my Sent Items group.
Can anybody give me some pointers on this?
PS: If you need further information, name it and I will gladly provide
it.
Regards,
Alex
- Gcc is ignored when sending mail from emacs lisp,
Alexander Baier <=