I didn't understand how to configure the fme server to start the workbench after receiving the email?
Thanks for any advice.
Lencer
I didn't understand how to configure the fme server to start the workbench after receiving the email?
Thanks for any advice.
Lencer
First you define a Publication (EMail) that publishes to a Topic whenever an email is received. I defined the topic SAMPLE_TOPIC for the screenshot below.
Then you publish your workspace to FME Server with the Notification Service linked to the topic that is triggered when the email arrives:
The "Notification data reader" is the one that will contain your email when your workspace is triggered by the topic. You can use something like the TEXTLINE reader for this. Make sure to set "Read whole file at once" on your reader to get one feature containing the entire mail message, otherwise you'll get one feature per line of text.
David
I didn't understand the part about the TEXTLINE Reader (FME 2015 its called "Text File Reader", i think so). If i try to plug in the reader I have to define the Dataset. I don't know which Dataset I have to use. Any textfile? Or a special formated Textfile?
Greetings Lencer
A good place to strat with FME Server and email is:
https://knowledge.safe.com/articles/How_To/Email-in-FME-Server-A-Tutorial-Series
When you create your workspace just point your reader to any old text file, it doesn't matter which. When your workspace is triggered by FME Server, the text file contents will be automatically replaced with the email contents.
Here is a tutorial that pretty much covers your question: https://knowledge.safe.com/articles/How_To/Receiving-email-Part-1-Setting-up-a-topic-and-an-email-address
David