Parker Software Ltd Homepage
Forum Home Forum Home > ThinkAutomation Business Process Automation > ThinkAutomation Version 4
  New Posts New Posts RSS Feed - Save email message with unique file name?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Save email message with unique file name?

 Post Reply Post Reply
Author
Message
dpace32 View Drop Down
New User
New User


Joined: 09 Sep 2013
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpace32 Quote  Post ReplyReply Direct Link To This Post Topic: Save email message with unique file name?
    Posted: 12 Sep 2020 at 5:14pm
Hello - I am trying to save every inbound message as a local file with a unique file name. I thought I would use %message_id% but unfortunately I am having a hard time saving the file with message_id because I believe the message_id can contain special characters or is too long.

What other way can I generate a unique file name or modify message_id to work?

The way I am create the file is with Read/Write Text File component and saving the %msg_mimetext% in the body of the file.

Thank you
Back to Top
Liam View Drop Down
Admin Group
Admin Group
Avatar

Joined: 29 Jun 2011
Location: Stoke-on-Trent
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Liam Quote  Post ReplyReply Direct Link To This Post Posted: 12 Nov 2020 at 11:14am
Typically I use %msg_subject%%msg_date%
this should be sufficient to make a per message file unique

Although I haven't used this myself the Set Variable action has an operation to create a GUID, this might work for file names
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.05
Copyright ©2001-2016 Web Wiz Ltd.

This page was generated in 0.096 seconds.