Creating Custom Mail Stationery (Leopard/Mac OS 10.5)
Contributed by: Scott Slattery, 31 Oct. 2007
*Creating a custom search to easily locate all your stationery files is helpful*. This will make things considerably easier as you add and modify stationery files and due to the fact that system and user stationery files are stored in different locations.
--------------------------------------
1. From Finder open Find ( ⌘-F)
2. Search “This Mac” should be selected.
Search parameters should be
“System files” “Include” (you will have to select “other” then search for “system files”.
“Kind” is “Other” “Mail Stationery”
3. Save Search as “Mail Stationery” and check “Add To Sidebar”
Now you can easily select your saved search (Mail Stationery) from the sidebar to locate all your stationery files.
----
*Select a Stationery Format you want to mimic and customize.*
Decide which system stationery you want to copy and make note of it. I selected Birthday/Banners because I wanted something with a single photo on it.
*Create a basic (default) stationery which will be edited*
1. From Mail app select “New Message” and minimal text in the body. Note that adding a subject, and recipient (To and Cc) will cause additional properties to be written to the template that can be edited later if you want your template to automatically include addressing and subject information but it is not essential.
2. Select File->Save As Stationery... (eg. I used name “Custom1”)
3. Close Mail App (otherwise it will crash when you edit it’s files).
4. Mail will create a stationery package at: ~/Library/Application Support/Mail/Stationery/Apple/Contents/Resources/Custom/Contents/Resources/Cust om1.mailstationery
Don’t edit this package directly, copy it to your WorkFolder first.
5. Open ~/WorkFolder/Custom1.mailstationery by pressing Control-click and selecting “Show package contents”.
The first folder in the package is “Contents”. Drag it out of the package into it’s parent folder (~/WorkFolder). This this will make editing considerably easier.
6. Drill down into ~/WorkFolder/Contents until you get to the Resources folder.
7. Edit “Description.plist”. Double-click and it will open in Property List Editor.
You will need to merge the contents of this “custom” property file with one of the system stationery plist’s (the one you selected).
8. From Finder go to: /Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Birthday/Contents/Resour ces/Banners.mailstationery (assuming you chose the same system stationery I did). If you did not, use the custom search you created (above) and use the path identified in the path bar for your specific stationery file.
9. Copy Existing System stationery file into your ~/WorkFolder. This way there is no danger of corrupting or deleting the original system file.
10. Merge Results. This is most easily accomplished by editing the newly copied system stationery file (~/WorkFolder/systemstationeryfile.mailstationery) while referencing the default one created for you in your home folder that you copied into your work folder. The key item is to be sure to copy the “Stationery ID” from the custom stationery into the copy of the system stationery you saved in /workfolder.
11. Update the respective properties in Description.plist to ensure they match the name of your custom stationery.
12. Edit the existing images and the content.html ensuring you cange the title tag to “Custom”. I also used Photoshop to ensure all the images I replaced were identically sized as the original ones, keeping the image sizes (kb) approximately the same or smaller. This may not be an issue but I can't hurt.
13. After all your edits are complete, copy the “Contents” folder back into the root of the package within your working folder, then copy the package over the original Custom1.mailstationery package. The name must be the same as the custom name you selected since that's the name associated with the stationery ID you altered in the description.plist.
14.Open Mail App and your new template “Custom1” should appear under the Custom category.
Best of luck, this worked for me. Maybe someone can simplify it but the crucial steps are identified here.
Message was edited by: Scott Slattery