Closed Bug 1468704 Opened 6 years ago Closed 3 years ago

Enable attaching a Template when creating a message

Categories

(Thunderbird :: Message Compose Window, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ovari123, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180608151520

Steps to reproduce:

Suggestions:

1. Please include another option called “Template” added to the “Attach” drop-down, i.e.
Attach → Template
or
Rename “Attach → Webpage” to:
a) Attach → URL/Template
b) Attach → Link/Template
c) Attach → Pointer/Template
d) Something else

2. Remove the default field “http://” to being blank.

TL;DR

When creating an email, URL attachments can be created by:
Attach → Webpage…
This brings up a “Webpage (URL):” with field “http://”
This can be replaced by:
file:///{{file}}
file://{{file}}
ftp://{{ftp}}
https://{{https}}
{{condition|file:///{file_true}|file:///{file_false}}}
{{webpage}}

Using the Mail Merge add-on, these fields enable creating templates with files based on fields in a CSV file.
https://addons.mozilla.org/thunderbird/addon/mail-merge/
When the Mail Merge add-on is run, it attaches the file to the message before sending the message.

This may also be useful for the Quicktext add-on.
https://addons.mozilla.org/thunderbird/addon/quicktext/
https://github.com/thundernest/quicktext/
https://github.com/thundernest/quicktext/issues/4

This may also be useful for the SmartTemplate4 add-on.
https://addons.mozilla.org/thunderbird/addon/smarttemplate4/

There may be other add-on where this would be useful too.

What do you think?

Thank you


Actual results:

Blocks:
Bug 579473 - [meta/tracker] Usability bugs about attachment pane UI (incl. proposed enhancements/improvements)
Severity: normal → enhancement
Component: Untriaged → Message Compose Window
Attached image Template Attach Error
1. Write a message with recipient, etc.
2. Click to the right of the "Attach" button
3. Click "Web Page..."
4. Type "C:\PDF\{{FirstName}}-{{LastName}}.pdf"
5. Click OK
6. Click Send
7. Error (TemplateAttachError.png)

From comment #0, perhaps it would be better implement:
   Attach → Template
without any validation.
FYI:

Following repeated requests, I also work on a %attach(fileUri)% function for my SmartTemplate⁴ Add-on, please reference:

https://www.mozdev.org/bugs/show_bug.cgi?id=26552

I already have a %file()% function for adding inline HTML and images.
Blocks: 273277
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: