How do I attach a file to an email that is setup in planner? I want to attach my logging data to a daily email. The file name is irc_Level.txt.
You can use the export block descripter as highlighted in the document below:
This will assist with sending files with email notifications.
So, I have a tag “Level” that I am doing some historical logging and I am trying to email the historical log for this tag.
Here is what I have in my planner email. $EmailAttachment$ = “&[$dtHL $fn/irc_Level.txt]”
All I get is gibberish!
See attached.
What am I doing wrong?
irc_Level.txt (55.2 KB)
Hello,
You will need to declare the file type as well. It’s default value is binary
you can set the file type by including $ftT
I got this figured out from the manual that you sent.
Here is what I had to do: [$dtHL $ftT $st_h24 $et_m0 $tnLevel]
This gave me 24 hours of the historical data from my tag “Level” in a csv file attachment.
Thanks for the help!