"T7F-2" vs "X2-base7" - issue with email
Posted: Fri Sep 01, 2017 6:07 am
Hi all.
I have a program that I developed for an X2-base-7 model HMI. The X2-base-7 was just released at the time as a superseded version of the T7F-2 HMI. I didn't have the X2 HMI unit while I was developing the program, so I used an older T7F-2 model HMI which is compatible.
I finished my program, testing it on the T7F, and it looks very good and my client is very happy. One of the features I have implemented is to send emails when there is an alarm - very normal, and something I have done many times before. This feature worked just fine, and when I trigger an alarm, and email pops right into my inbox.
When deployed onto the X2-base HMI on the clients site however, no emails were being sent. It took me a very long time to figure out what was going on, as I followed the path that most people reading this probably would, and started investigating the client internets connection and firewalls, double checked the program to ensure I didn't accidentally introduce a bug, etc, etc.
I eventually took the T7F HMI out to my clients site and swapped it out with the X2, and wouldn't you know it, email worked. I swapped them back, it didn't work. I then tried loading a test program that sent an email via a script, and gave me some step by step feedback on what was going on. On the T7F, the email was sent off with no problem. On the X2, the email was created, and the program went through the steps of sending, but the return value from the send function simply indicated that it failed.
I have since left the T7F with the client, and he is happy. I now have an X2-base-7 HMI in my office that I cannot use on a project that needs to send an email - which is pretty much all of my projects.
So the million dollar questions...
* Has anyone out there experienced the same problem (and hopefully solved it)
* Has anyone successfully sent an email from an X2-base HMI?
* Am I going crazy?
* Has anyone successfully sent an email, using the same code, from both a T7F and an X2-base HMI?
Any help would be greatly appreciated.
Regards,
Sc.
I have a program that I developed for an X2-base-7 model HMI. The X2-base-7 was just released at the time as a superseded version of the T7F-2 HMI. I didn't have the X2 HMI unit while I was developing the program, so I used an older T7F-2 model HMI which is compatible.
I finished my program, testing it on the T7F, and it looks very good and my client is very happy. One of the features I have implemented is to send emails when there is an alarm - very normal, and something I have done many times before. This feature worked just fine, and when I trigger an alarm, and email pops right into my inbox.
When deployed onto the X2-base HMI on the clients site however, no emails were being sent. It took me a very long time to figure out what was going on, as I followed the path that most people reading this probably would, and started investigating the client internets connection and firewalls, double checked the program to ensure I didn't accidentally introduce a bug, etc, etc.
I eventually took the T7F HMI out to my clients site and swapped it out with the X2, and wouldn't you know it, email worked. I swapped them back, it didn't work. I then tried loading a test program that sent an email via a script, and gave me some step by step feedback on what was going on. On the T7F, the email was sent off with no problem. On the X2, the email was created, and the program went through the steps of sending, but the return value from the send function simply indicated that it failed.
I have since left the T7F with the client, and he is happy. I now have an X2-base-7 HMI in my office that I cannot use on a project that needs to send an email - which is pretty much all of my projects.
So the million dollar questions...
* Has anyone out there experienced the same problem (and hopefully solved it)
* Has anyone successfully sent an email from an X2-base HMI?
* Am I going crazy?
* Has anyone successfully sent an email, using the same code, from both a T7F and an X2-base HMI?
Any help would be greatly appreciated.
Regards,
Sc.