4 Replies Latest reply on Oct 13, 2017 6:44 AM by ap-2 RSS
    ap-2 Explorer

    Send mail for every 30 seconds

    Hi, I am trying to get mail updates of my Properties for every 30 seconds. I used "Timer template" and In subscription i have selected event as "Data change" and the script is as shown in the pics i uploaded...but i am not receiving Any mail but i it testing correctly in  "Send sms" in Mail service and " enable timer"..please suggest me how to do it!!

      • Re: Send mail for every 30 seconds
        ytella Apprentice

        Hi AkshayaKumar, Could you please verify if the SMTP Server port field and POP3 Server Port field has the correct values? I think you may need to configure the corporate mail server to accept mail from ThingWorx. However, Gmail does not have this restriction and will work. See the below screenshot for an example:

          • Re: Send mail for every 30 seconds
            ap-2 Explorer

            i checked it in "SendMessage" service,, its worked properly but when i tried to put in Subscription using Timer as my uploaded screenshot, i am not getting any mail regarding "Datachange event". I think that script may be wrong can you please check that script in  screenshot and suggest me where i went wrong, i am not much familiar with Java script.