Questions tagged [apple-mail]
148 questions
1
vote
2 answers
Setting message signature of outgoing message using AppleScript
Since I installed Sierra I can't get a piece of AppleScript working which worked before.
I'm trying to create a message (in Apple Mail) with a signature, but keep getting errors.
I used to create/fill the message like this:
set msg to make new…

Tjebbe Westendorp
- 13
- 4
1
vote
1 answer
Applescript and Mail in macOS Sierra: broken feature?
I guess you can't make a signature in Mail using AppleScript anymore?
If you're running Sierra, give this simple script a try:
tell application "Mail" to make new signature with properties {name:"My Signature"}
All I get is "Mail got an error.…

PHennessey
- 186
- 1
- 7
1
vote
1 answer
Prevent email clients from auto-highlighting email addresses with HTML/CSS
I am looking for a CSS/HTML workaround to prevent email clients such as Outlook and Apple Mail from auto-highlighting an email address in my HTML emails.
My markup is:
To ensure that our messages are sent straight to your inbox and not your junk…

crmpicco
- 16,605
- 26
- 134
- 210
1
vote
1 answer
Does iOS Mail block the inline use of "-webkit-text-size-adjust:none;"?
I am creating a email signature with HTML markup, and to match the design, I have to shrink the font-size property to under 11px, which is the lowest limit put by iOS mail rendering.
An article from Campaign Monitor suggested the use of the vendor…

fdsze
- 13
- 3
1
vote
1 answer
Sending Email to CSV File with AppleScript and Apple Mail
I am trying to run an AppleScript that sends emails through Apple Mail. It appears to be working properly, however I am seeing an error when I run the script.
This is the error I am seeing:
error "Can’t get text item 1 of \"\"." number -1728 from…

Brandon
- 1,701
- 3
- 16
- 26
1
vote
2 answers
Applescript only attaches once and then no longer
I have an Applescript that attaches a bunch of spams to a reporting email flawlessly ONCE. Then it stops attaching any spams in subsequent runs regardless of whether it's the same batch of spams or another new batch of spams. Even though it stops…

Kok-Yong Tan
- 11
- 2
1
vote
1 answer
foreach in HTML E-Mail breaks in Apple Mail
I'm trying to write a HTML e-mail and fire it off with PHP (wp_mail to be exact).
It works fine in the gmail client, but if I open it up in Apple Mail, my foreach content ends up at the bottom of the e-mail, which is no good.
I'm creating the…

lukeseager
- 2,365
- 11
- 37
- 57
1
vote
1 answer
Popular mail client vCard support status
What is the status quo for vCard support by common e-mail clients (Outlook, Gmail, Apple's mail thing)? From what I can tell Outlook's support is a bit backwards; it has its own "standards" for vCard, but I can't find anything that specifies what…

Nick T
- 25,754
- 12
- 83
- 121
1
vote
1 answer
prevent Mac Mail from inserting a link into a text string with ".com"
I'm testing consumer-facing HTML email for a client. In several areas, business names are dynamically added to the text. Sometimes the business name could be, for instance, "Staples.com". Mac Mail is automatically linking this.
In our case it's a…

Deborah
- 4,316
- 8
- 31
- 45
1
vote
2 answers
HTML email conditional statement for Apple mail
Hello fellow programmers
Currently i have been working on creating some email newsletters, and i have experienced some errors, which only occur in Apple Mail 5. As i have already used conditional statements for targeting Outlook specifically, i was…

Teilmann
- 2,146
- 7
- 28
- 57
1
vote
0 answers
Opening a user's Apple Mail to make a new outgoing message with pre-populated HTML body
Is there a way to provide a link that opens a users Apple Mail and pre-populates the email with an HTML body? I know this is not really possible with mailto as it's outside the spec of plain/text. I'm working on a Django app, and I'd like the user…

user2384289
- 11
- 1
1
vote
1 answer
Why doesn't this simple applescript work any more in ML mail.app (as a rule)
It works only when you right click on the mail message and choose "run rules", but not on incoming messages (without interaction).
The first dialog is shown both when incoming or running manually, but the second dialog (with the id) is only shown…
user429620
1
vote
2 answers
apple mail adds \n about every 72 characters or so - how do I strip these and preserve actual \n
Looking at the raw, generated email generated from AppleMail, it doesn't appear that I can tell the difference between the \n characters generated by the application, and \n characters created by the user. The ones generated by the program do not…

dusk
- 53
- 4
1
vote
1 answer
How to retrieve email body of outgoing mail in apple mail using applescript?
How can i retrieve email body, recipient email address, subject etc of outgoing mail.
thanks for any help.
EDIT:-
I have added one custom button in outgoing mail toolbar see image.
And the functionality of that button is send mail and save all mail…

Muhammad Rizwan
- 3,470
- 1
- 27
- 35
1
vote
0 answers
How to Add small logo or image to email body in Apple mail?
I am new to developing plugins for Apple Mail for Mac OS X,
So I don't know how can I add a small logo or image to email content (body) before any email address,
Means we also need to detect the email address in email body, and than add logo next to…

Muhammad Rizwan
- 3,470
- 1
- 27
- 35