Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Mailer object stops after two tries

I am trying to create a mailer object that sends out emails but it stops after sending it two times. Please help. I am using Lookout for Win32 Version 6.7 (build 49153)
Mailer Object:
Name: H2S_Alarm_Mailer

Recipients: "myemail@do-main.ca"

Subject: "H2S Alarm "&H2S_Accum_5min
Message: "H2S Alarm triggered "&..\board1.H2S
Send: TRUE

From address:"no_reply@do-main.ca"
SMTP server: smtp.do.ma.in

Generate event on successful send is checked

Timeout: 30 seconds

Mailer alarm priority:10

0 Kudos
Message 1 of 9
(5,400 Views)

Lookout mailer object doesn't support TLS(Transport Layer Security) or SSL(Secure Sockets Layer ), please make sure that you SMTP server: smtp.do.ma.in doesn't need TSL. As far as I know, some popular mailbox like Gmail, Live and Yahoo all require the TLS. If your server requires TSL, you have to choose another mail server that doesn’t need them. 

0 Kudos
Message 2 of 9
(5,368 Views)

Hi Michelle, I just confirmed that it doesn't require TLS or SSL. Thank you

0 Kudos
Message 3 of 9
(5,359 Views)

I also just tried to run a PowerShell script to send out emails using the smtp server on an infinite loop, just to make sure that it wasn't anything on the infrastructure side. I received all the emails successfully.

0 Kudos
Message 4 of 9
(5,358 Views)

Have you customize SMTP port in the mailer.ini? If not, you can create a ini file called mailer.ini under Lookout intall folder(like C:\Program Files (x86)\National Instruments\Lookout 6.7),  and type in the following contents and save it.

[all]
SMTPPort=465 (you can also replace by 25 or 587 according to your actual port)

0 Kudos
Message 5 of 9
(5,352 Views)

I don't think there is an issue with the configuration. Because I receive the two emails that it sends out. What do you think?

0 Kudos
Message 6 of 9
(5,345 Views)

Do you mean you succeeded to send two emails before it failed? What about close the process and reopen it again? Will it send two successfully and then fail or can never be successful?

0 Kudos
Message 7 of 9
(5,333 Views)

When I reopened the process file it only sends me one email. But when I right click on the Mailer object, open properties and click on 'OK', it sends me two emails.

0 Kudos
Message 8 of 9
(5,329 Views)

I find that "Send" in your mailer object has been set to TRUE, could you please create an switch object and connect it to "Send " in mailer object, that means only when you convert the satus to true, then it will send out the email, instead of sending out emails all the time.

0 Kudos
Message 9 of 9
(5,298 Views)