# Question about Tag

**URL:** <https://forum.inductiveautomation.com/t/question-about-tag/7939>\
**Category:** Ignition\
**Created:** [February 2, 2014, 5:51pm UTC](https://forum.inductiveautomation.com/t/question-about-tag/7939 "2014-02-02T17:51:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cas\_Sena](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@Cas\_Sena](https://forum.inductiveautomation.com/u/Cas_Sena)\
**Post date:** [February 2, 2014, 5:51pm UTC](https://forum.inductiveautomation.com/t/question-about-tag/7939/1 "2014-02-02T17:51:33Z")

</div>

Guys, I am trying to send out an email about our daily case count, for example, I would like to send out the numbers if cases made on an specific shift. I am currently doing it by “binding” the ACC timer if my plc to the “message field” of the email portion of the tag alarming section. However, I still have a problem doing it this way because I am only able to put in the field a single number and I would like to put two or more tags in it.  
This is what I need to do, I need to send an email with the numbers of cases made in both lines right at 0700 and at 1900.  
like this:  
Line #1: 2000 cases  
Line #2: 2000 cases.  
Both information in the same email. What should I do?

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [February 3, 2014, 1:45am UTC](https://forum.inductiveautomation.com/t/question-about-tag/7939/2 "2014-02-03T01:45:04Z")

</div>

Use system.net.sendEmail (see [documentation](http://www.inductiveautomation.com/support/usermanuals/ignition/)) and Gateway Event Scripts.

---

<div class="post-metadata">

**Author:** ![Cas\_Sena](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@Cas\_Sena](https://forum.inductiveautomation.com/u/Cas_Sena)\
**Post date:** [February 3, 2014, 4:32pm UTC](https://forum.inductiveautomation.com/t/question-about-tag/7939/3 "2014-02-03T16:32:58Z")

</div>

This code ask the user for an attachment file but I want ti remove the human element out of the email and this code has to be activate it by a sender. Right?

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [February 3, 2014, 4:41pm UTC](https://forum.inductiveautomation.com/t/question-about-tag/7939/4 "2014-02-03T16:41:40Z")

</div>

Only the third example asks for human interaction. You can change that by replacing the first line in that example with `filePath = "<string with a path to your file>"` (substituting the correct path…)

If you don’t want a fixed file, you can create the body of the email in your script, as shown in the first example.
