Re: [Evolution] what are all of the valid arguments for mailto?



To answer my own questions...

On Thu, 2007-10-25 at 08:12 -0400, Brian J. Murrell wrote:
I'm wondering what all of the valid arguments that one can put in an
evolution "mailto:..."; invocation.  So far I have found:

      * attach
      * cc
      * bcc
      * subject

It all seems to be in

handle_mailto (EMsgComposer *composer, const char *mailto)

        if (!g_ascii_strcasecmp (header, "to")) {
                to = add_recipients (to, content);
        } else if (!g_ascii_strcasecmp (header, "cc")) {
                cc = add_recipients (cc, content);
        } else if (!g_ascii_strcasecmp (header, "bcc")) {
                bcc = add_recipients (bcc, content);
        } else if (!g_ascii_strcasecmp (header, "subject")) {
                ...
        } else if (!g_ascii_strcasecmp (header, "body")) {
                ...
        } else if (!g_ascii_strcasecmp (header, "attach") ||
                   !g_ascii_strcasecmp (header, "attachment")) {
                ...
and sadly enough:
        } else if (!g_ascii_strcasecmp (header, "from")) {
                /* Ignore */
        } else if (!g_ascii_strcasecmp (header, "reply-to")) {
                /* ignore */
        } else {
and interestingly enough:
                /* add an arbitrary header? */
                e_msg_composer_add_header (composer, header, content);
        }

Specifically, can I set the source account (i.e.
which of the many From: selections)?

Seems not.  

How about the attachment
parameters such as Content-type (assuming evo doesn't always get it
right), "name", etc.?

Again, seems not.

:-(

b.





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