Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DragDrop.GetEmailID
Returns subject of the specified email message.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DragDrop | 2.7 | Yes | No | No | No | No |
MBS( "DragDrop.GetEmailID"; droparea; Index ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| droparea | The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a drop area. | $dropHandle |
| Index | Optiona, zero based index of the received email. Default is 0. | 1 |
Result
Returns the email id as text.
Description
Returns subject of the specified email message.Index from 0 to DragDrop.GetEmailCount -1.
Using the ID you can ask Mail by Apple Script for the content or other details on the email.
For an email drag from Apple Mail, the function DragDrop.GetPath may give the path to a copy of the email file in temporary folder.
You can use DragDrop.GetPath to get the email as file.
See also
Example Databases
FileMaker Magazin
Created 18th August 2014, last changed 7th May 2017
DragDrop.GetEmailCount - DragDrop.GetEmailMailbox
Feedback: Report problem or ask question.
Links
MBS Xojo blog