Print Page | Close Window

Save email message with unique file name?

Printed From: Parker Software Ltd
Category: ThinkAutomation Business Process Automation
Forum Name: ThinkAutomation Version 4
Forum Description: For questions relating to ThinkAutomation Version 4
Printed Date: 07 Aug 2022 at 7:39pm
Software Version: Web Wiz Forums 11.05 -

Topic: Save email message with unique file name?
Posted By: dpace32
Subject: Save email message with unique file name?
Date 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

Posted By: Liam
Date 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

Print Page | Close Window

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