Questions tagged [apple-mail]
148 questions
3
votes
4 answers
Using AppleScript to set a mail message to Plain Text
I have an AppleScript that nicely collates information and creates an email message with attachments.
I cannot find a way for the script to set the message format to "Plain Text" which is required by the receiving inbox (rather than the default…

So Over It
- 3,668
- 3
- 35
- 46
2
votes
1 answer
Email clients are putting single space characters in HTML emails
I am sending HTML emails using the PHP mail function and have found that email clients are inserting single space characters at regular intervals. This is inconvenient when part of the email is a url.
I devised a test script to illustrate…

Charles Looker
- 33
- 5
2
votes
2 answers
how to debug html rendering issue on Apple mail client
We are facing few HTML/CSS issues on rendering our HTML email on Apple mail client on iPhones
Is there a way one can inspect and debug the issue?
Does Apple provide any emulator/tool to do the same?

comiventor
- 3,922
- 5
- 50
- 77
2
votes
1 answer
How to trigger AppleScript on Apple Mail Rule?
In Apple Mail I've gone to "Preferences > Rules" and made a rule to trigger an AppleScript (screenshot attached)
I know it's triggering because the background of the incoming message turns orange.
However, it seems that the AppleScript is not…

dk9000
- 91
- 1
- 1
- 7
2
votes
1 answer
UIActivityViewController and UIDocument package
Summary:
Mail appears to flatten document packages when sending them.
Background:
I'm using subclassed UIDocument and FileWrappers to provide a document package for storing metadata, data and a thumbnail preview for my documents. I've made the…

joshd
- 1,626
- 14
- 17
2
votes
0 answers
Attach image to email from iPhone and not embed
Does anyone know a way of attaching emails as a separate file from iPhone Mail app instead of embedding them inline?
I send loads of photos a day and I want to download them easier off Outlook later instead of right clicking and saving as for each…

David Mason
- 159
- 3
- 14
2
votes
2 answers
Android gmail can't scale background image correctly

Haoyu Chen
- 1,760
- 1
- 22
- 32
2
votes
1 answer
How to get dropped Mail message data in a Cocoa application?
I'm working on a Cocoa application into which I'd like to allow Mail messages to be dropped.
If I include public.plain-text in my Info.plist Document Types, I can drop a Mail message on the icon in the Dock and get a file path like this from the…

smokris
- 11,740
- 2
- 39
- 59
2
votes
1 answer
Add vcard to Contacts with Mail rules and Applescript
I receive a lot of customer vcards to a specific email address. I want to automatically add the vcards to my contacts through the Mail rules and an AppleScript.
I searched a lot and found something. I modified it a bit. And the opening and adding…

Christian Mandl
- 67
- 1
- 7
2
votes
2 answers
Apple Mail Behaviour for Anchors in HTML-Mails
I am experiencing a weird behavior with Apple Mail. If i define an Anchor and jump to it inside an HTML Mail:
Text
Jump1
Then Apple Mail will only jump to this location when you issue a double-click, rather…

beberlei
- 4,297
- 1
- 23
- 25
2
votes
1 answer
Which control is used as editor in mac mail - message body?
What is the control used as editor to compose messages in mac mail?
My guess is TextView but I cannot get:
How will I show icon in message body when some document is dragged and dropped in it, as in mac mail. Right now it only shows path of…

Devarshi
- 16,440
- 13
- 72
- 125
2
votes
2 answers
How do I set the default sending email account in mail.app using AppleScript?
I'd like to use Control Plane to change the default sending account in mail.app (preferences->composing->send new messages from) when I switch from a work to a home environment. Control Plane doesn't have an option to do this, and I can't find…

mikejt
- 21
- 2
1
vote
3 answers
Get the recipient of a draft (AppleScript, Mail.app)
I want to get the recipients ("to" fields, etc) of a draft on my draft's folder of Mail.app, by using AppleScript. Can't seem to find the correct syntax to that.
Thanks.

EduAlm
- 813
- 3
- 11
- 27
1
vote
1 answer
How do I match the background color of my HTML email to the background color of the email client?
I'm working on creating an html email template. I'm new to developing HTML specifically for email, and I know it can be quite finicky.
I want the background of the email to match the background of the email client(Apple Mail, Gmail, Outlook, etc.)…

Sam Sabin
- 553
- 1
- 6
- 19
1
vote
0 answers
Dragging email from Apple mail to web application?
I would like to create a web app where you can drag and drop emails from Apple Mail (on macOS).
When I drag emails to the desktop an .eml file is created, but when I drag emails to the browser no file is being transferred, I can only get the mail’s…

Gergő S
- 67
- 4