looking for help with email subject line

Discuss RoboTask here
Post Reply
TWSI
Posts: 22
Joined: Sun Apr 05, 2015 2:01 am

looking for help with email subject line

Post by TWSI »

I have text file(s) that I read from c:\sendfile\939\ I am looking to take the name of the file and include it in the message of each email.

This is what I have so far. Email Subject Line = Invoice C:\sendfile\939\091301.txt | received today | 4/6/2015 6:14:37 PM.

I used {BodyText} and this is what I get C:\sendfile\939\091301.txt

I just need the number before the .txt file.
091301
091302
091303
etc.

Thank you.
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: looking for help with email subject line

Post by Oleg »

Use the expression
{ExtractFileNameNoExt({BodyText})}
instead of
{BodyText}

You cas see all available variables by using menu Options->Variables
Image
Oleg Yershov
TWSI
Posts: 22
Joined: Sun Apr 05, 2015 2:01 am

Re: looking for help with email subject line

Post by TWSI »

That worked perfect
Thank you
David
Post Reply