You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Apple Mail HTML template with fixed placement of attachments?

Dear community,


I hope you are all doing well. I've did some digging around the internet but couldn't find any solution to my problem and my programming skills have been better but still not good enough to solve this. Maybe I should get into it more.


My question is:

Can Apple Mail (email sent from and to) handle fixed placements of attachments within HTML email templates or not? I've set up a complete template as a so called handover for my colleagues in the morning. Everything fine and dandy - however as soon as I add a file (.numbers) to the mail the layout does get destroyed by the attachment.


The code basically looks like this:

<div class=3D"container" style=3D"max-width: 768px;padding: 0 65px;margin: 0 auto;overflow: auto;">
<div class=3D"footer-content" style=3D"background: #333;padding: 5px;">
<p style=3D"color:#ffffff; text-align:center; margin:0;>For internal use only. Do not distribute.</p>
</div>


The preview before I send it also looks nice but once the mail gets send it automatically aligns it outside the template. Is there a way to fix it? Before and after pictures are attached.


All the best

Michael



Posted on Aug 25, 2020 12:55 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 25, 2020 5:51 AM

Unless you are creating new emails with HTML coding within an AppleScript (where you can access the otherwise unexposed Mail HTML layer), Apple removed support for creating Mail stationery support after macOS High Sierra 10.13.6. There is no guarantee that Mail Stationery (or AppleScript generated HTML mail) sent from the supported operating system (or earlier) will arrive in Apple Mail clients on Mojave or Catalina, or on other mail user agents with the expected formatting.

Similar questions

3 replies
Question marked as Top-ranking reply

Aug 25, 2020 5:51 AM in response to MichaelJungmann

Unless you are creating new emails with HTML coding within an AppleScript (where you can access the otherwise unexposed Mail HTML layer), Apple removed support for creating Mail stationery support after macOS High Sierra 10.13.6. There is no guarantee that Mail Stationery (or AppleScript generated HTML mail) sent from the supported operating system (or earlier) will arrive in Apple Mail clients on Mojave or Catalina, or on other mail user agents with the expected formatting.

Apple Mail HTML template with fixed placement of attachments?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.