Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4    Statistic  

EmailParser.ParseFile

Parses an email from a file.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
EmailParser 5.3 Yes Yes Yes Yes Yes
MBS( "EmailParser.ParseFile"; Path )   More

Parameters

Parameter Description Example value
Path Native file path. "C:\Documents\Test.eml"

Result

Returns Reference number or error.

Description

Parses an email from a file.
If no error occurs, the parser will separate subject, html and plain text, attachments and inline graphics, all addresses and header entries. You can than use other functions to query values.

This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.

See also

Example Databases

Created 24th September 2015, last changed 24th September 2015


EmailParser.ParseContainer   -   EmailParser.PlainText

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos