#334 accepted
Rob Morrison

Canned Responses

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

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.

Comments and changes to this ticket

  • benny

    benny January 29th, 2013 @ 08:17 PM

    • 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.

  • Mark

    Mark August 5th, 2018 @ 08:12 AM

    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.

  • Jon B.

    Jon B. August 6th, 2018 @ 06:08 AM

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

  • benny

    benny August 8th, 2018 @ 07:57 AM

    @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.

  • Padraic Renaghan

    Padraic Renaghan August 8th, 2018 @ 09:26 PM

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

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

  • Mark

    Mark August 10th, 2018 @ 12:50 PM

    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.

  • benny

    benny August 13th, 2018 @ 08:01 AM

    @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.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

Pages