Jump to content

Attach data table to email


Elmajestin

Recommended Posts

  • 3 months later...

This process was a little obscure to me, here is what I learned:

"Data Tables are not retained until they are written to the SD Card"

So in my ladder logic every time I add a row to my data table, I also use the ladder element for Store DTI to File. In that ladder element, one of the options is the file name, another option is whether to create the CSV or not, and another option is whether to overwrite the file or append the DT to the file.

Now in your email configuration, under attachments, for filename use the exact same string you used when writing the DT to File, and finally choose the file type for the attachment

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.