Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

URL scheme (feature expansion request)

#1312

When drafting a new email via URI like "mailto:me@example.com?subject=Test&body=Body%20text" I would also like to specify which email address goes into the From header line.

Reported by Ryuji Suzuki · November 15th, 2015 @ 12:26 AM

State: resolved
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • State changed from new to resolved

    Have you tried the from parameter described here?

    Let me know if it doesn't work as expected.

    November 15th, 2015 @ 08:37 AM

  2. Ryuji Suzuki
    Ryuji Suzuki

    There is no way to explicitly specify the email address in the From header line. It is not described in that page. Even if I try to use from=user@domain.com added as the part of the URI it just gets ignored. Parameters specified before and after that parameters are used, but from=whatever is not used.

    November 16th, 2015 @ 03:00 AM

  3. benny
    benny

    Ok, I'll verify that it works as expected, but first one more question: Is the From address you are specifying known to MailMate? It must be known to one of your accounts (Email Addresses or Address Pattern)?

    The page I referred to does mention from, but it's not part of any of the examples.

    November 16th, 2015 @ 08:15 AM

  4. Ryuji Suzuki
    Ryuji Suzuki

    The address I used for testing is one of email addresses that I use all the time, and of course known to MailMate (in the list given as Email Address(es) in IMAP Account Settings).

    The page mentioned From, but that sounds the same as the usual rule whereby MailMate decides which address to put in by default. It doesn't mention from parameter keyword in mailto: URI syntax. I tried it anyway, and had no effect.

    November 16th, 2015 @ 08:21 AM

  5. benny
    benny
    • State changed from resolved to accepted

    Sounds like the feature does not work as expected. I'll let you know if I cannot reproduce it.

    From the manual page: “MailMate also extends the mailto: syntax to include some additional special parameters. These are from, attachment-url and send-now.” and “The from value should just be an email address and MailMate then takes care of finding the corresponding identity. It works with all identity settings including address patterns. If an unknown address is given then MailMate falls back to the default account.”

    November 16th, 2015 @ 08:25 AM

  6. benny
    benny
    • State changed from accepted to fixcommitted

    I was able to reproduce it. The problem is that this feature relied on the “trust” variant of using the mailto: URL. This is not necessary and it did not match the documentation. I'm not sure this ever worked as advertised.

    In a few seconds: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane (r5176). Let me know if it still does not work as advertised.

    November 16th, 2015 @ 08:37 AM

  7. benny
    benny

    And sorry about the inconvenience of this bug.

    November 16th, 2015 @ 08:37 AM

  8. Ryuji Suzuki
    Ryuji Suzuki

    With r5176 this seems to work. Thanks.

    November 16th, 2015 @ 08:47 AM

  9. benny
    benny
    • State changed from fixcommitted to fixreleased

    November 26th, 2015 @ 02:33 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.