You can help by commenting or suggesting your edit directly into the transcript. We'll review any changes before posting them. All comments are completely anonymous. For any comments that need a reply, consider emailing email@example.com.
We are experiencing playback issues from our video hosting provider. Please check back shortly.
Scheduling Actions - Email
Learn how to create an email action for your schedule, as well as configure a SMTP server on the gateway.
Video recorded using: Ignition 7.9
Transcript(open in window)
[00:00] Next, let's take a look at the email action. You can see I already have a schedule created with some email actions set. When creating an email action, you need to set the from address. So I went ahead and wrote one down here. And then you need to specify a mail server. Now the mail server is new as of Ignition 7.8, and there's a certain place you have to configure this on the gateway webpage. Instead of having to open the gateway webpage yourself, you can click on this little Create New Server link down below. Once you click on it, your web browser will open up, and show you your gateway webpage. You can see I already have one configured named Mailinator. Now this is located on the GABA webpage under the Configure tab, under configuration, and email settings. If we edit this profile, we'll see that the configuration looks very similar to configuring an SMTP server for alarm notification. I'll click Back on my browser, and let's test the SMTP profile using the test link. Give an email address this is from. We'll use the same to address we're going to use in our report. And click the Send Test Email button. Now you can see the email went through successfully. If there's some sort of problem, you'd see an error message down here, and it would give you a little more information about what was wrong. Additionally, you'll see an error message in the gateway console. Now since my SMTP server seems to be working, I'll close my browser here. And let's take a look at the rest of to properties on the email action. We can specify the format, how many retries should the email go through in case there is a problem, and then there's this recipient's source property. There are two types of recipient sources: There's email addresses and user roles. The action will only ever use the selected recipient source. So I can't use both an email address and user role recipient source on the same action. However, I could create an additional email action on my schedule if I wanted to use both. When using email addresses, you'll see this recipient email table up here down below. There are two columns: There's address, so wherever you want to send the report to. And then there's the method column, so you can specify to, cc, blind cc. If you click on the plus icon, you can add more rows. I'm going to go ahead and get rid of these extras though. We can take a look at user roles. You can send your reports out to all of your users with specific roles. And it will auto detect any roles that you have. So we have admin, comma, we'll do operators, there we are. So now all my administrators and operators would get this report. We'll change this back to email addresses for now though. Lastly, you can configure the subject of the email, the attached file name, and if we scroll down here, the body of the email. Now just like the other actions, you don't have to wait for the schedule to come. You can run this immediately. So let's go ahead and do that right now. You'll see that the button is grayed out. And it just came back. So let's take a look at our inbox. You can see there are two emails: There's one from me earlier, the test email. And then my report was just sent out.