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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...