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.GetEmailAccount
Returns account name of the specified email message.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DragDrop | 2.7 | Yes | No | No | No | No |
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
The account name as text.
Description
Returns account name of the specified email message.Index from 0 to DragDrop.GetEmailCount -1.
This is metadata provided by Apple Mail. Alternatively you can get more if you take the email source and use our EmailParser functions to read the email file.
Examples
Query account of last email drop:
Set Variable [ $account ; Value: MBS( "DragDrop.GetEmailAccount"; $$dropview; 0 ) ]
Show Custom Dialog [ "Email account" ; $account ]
See also
- DragDrop.CreateWithControl
- DragDrop.GetEmailCount
- DragDrop.GetEmailMailbox
- DragDrop.GetEmailSubject
- DragDrop.RegisterDropTypes
Example Databases
FileMaker Magazin
Created 18th August 2014, last changed 18th December 2020
DragDrop.GetAutoResizingMask - DragDrop.GetEmailCount
Feedback: Report problem or ask question.
Links
MBS Xojo blog