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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Queries an address value.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
EmailParser | 5.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
EmailID | The ID fo the email parser. | |
Index | The index from 0 to EmailParser.AddressCount-1. | 0 |
Selector | Which value to return. Can be type, name or email. | "name" |
Returns value or error.
Copy all addresses into records:
#find all addresses
Set Variable [$EmailRecordID; Value:Get(RecordID)]
Set Variable [$i; Value:0]
Set Variable [$c; Value:MBS("EmailParser.AddressCount"; $email)]
If [$c > 0]
Go to Related Record [Show only related records; From table: “Address”; Using layout: “Address” (Address)]
Go to Layout [“Address” (Address)]
Delete All Records [No dialog]
Loop
Set Variable [$Name; Value:MBS("EmailParser.Address"; $email; $i; "name")]
Set Variable [$emailAddress; Value:MBS("EmailParser.Address"; $email; $i; "email")]
Set Variable [$type; Value:MBS("EmailParser.Address"; $email; $i; "type")]
New Record/Request
Set Field [Address::Type; $type]
Set Field [Address::Email; $emailAddress]
Set Field [Address::Name; $name]
Set Field [Address::EmailID; $EmailRecordID]
Commit Records/Requests [Skip data entry validation; No dialog]
#next
Set Variable [$i; Value:$i + 1]
Exit Loop If [$i = $c]
End Loop
End If
Created 24th September 2015, last changed 16th October 2015
Email.Verify - EmailParser.AddressCount
Feedback: Report problem or ask question.