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.

Canned Responses

#334

I send a lot of emails that have the same information. With Gmail there is a 'canned responses' section that allows the same body of text to be included. Is there any similar features in MailMate or do you intend to introduce such a feature?

Many thanks, and keep up the good work - MailMate is fantastic.

Reported by Rob Morrison · January 28th, 2013 @ 04:15 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • State changed from new to accepted

    No such feature yet (but I have some interesting ideas for how it could work). Your best option currently is probably something like TextExpander. A primitive way to do it in MailMate is to use insertText: key bindings or insertFormatString:, but that'll only work well for a very small set of snippets.

    I cannot promise you this feature soon, but I'll mark it as accepted in order to reflect that I do consider it an important feature.

    January 29th, 2013 @ 08:17 PM

  2. Mark
    Mark

    Hi Benny ~

    It's great to see that there's been concrete movement on canned responses!

    I've found the templates.mmBundle here https://lists.freron.com/mailmate/2017-March/007913.html and have been playing with it. Looks great!

    Now I'd like move to the next step, but I haven't been able to find any documentation. Is there any way you could point me to a list of what I can use to populate my templates?

    Right now I'm stuck with the included {MM_FIRSTNAME}. For some reason I haven't even been able to get {MM_LASTNAME} to work. Specifically I'd like to be able to use some date functions, or if at all possible.

    As always, thanks so much.

    August 5th, 2018 @ 08:12 AM

  3. Jon B.
    Jon B.

    Any way to put the cursor in the middle of the message (after the greeting) with this bundle technique?

    August 6th, 2018 @ 06:08 AM

  4. benny
    benny

    @Mark: You might appreciate the documentation for bundles provided here. You have to explicitly create the available environment variables in the .mmCommand files using so-called specifiers. You can also provide dates using, e.g., #date or #date-received. These are virtual headers generated by MailMate (taking care of parsing date headers which can be very hard).

    @Jon: Bundle commands cannot explicitly control the caret position, but I believe it is possible to control the use of a signature and its top/bottom placement if that is good enough for your use case.

    August 8th, 2018 @ 07:57 AM

  5. Padraic Renaghan
    Padraic Renaghan

    I built a quick reply bundle that you could use/modify for this need

    https://github.com/prenagha/quick-reply.mmbundle

    August 8th, 2018 @ 09:26 PM

  6. Mark
    Mark

    Thanks for all the replies - although it looks like I might've gotten in over my head here.

    I've already gone over the bundle documentation but couldn't find any specifiers listed. The hyperlink for "specifiers" just returns me to the top of the page. In all honesty I don't think I have a deep enough understanding to make sense of much of that documentation. It may be that the answer's there and I just can't see it.

    I'll be sure to take a good look at Padraic's bundle (after I get a chance to install python) and take a second shot at the bundle documentation to see if I can't move forward on this. I'd love to be able to get this up and running, but it's looking like I just don't have the skill (yet).

    Thanks so much for trying to help.

    August 10th, 2018 @ 12:50 PM

  7. benny
    benny

    @Mark: You are correct that specifiers are badly documented. You are welcome to ask for specific values, but you can also use a smart mailbox with conditions to select a header using the GUI popup and then look in the following file to see what the corresponding specifier is:

    ~/Library/Application Support/MailMate/Mailboxes.plist
    

    And don't blame your own lack of skills for this being hard. Clearly, it should be much easier to setup a templates system, but it's just not something I've had the time to improve yet.

    August 13th, 2018 @ 08:01 AM

  8. Mark
    Mark

    Well that'll certainly give me something to play with.

    Thanks again.

    August 17th, 2018 @ 02:12 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.