razor_rich Posted July 18, 2011 Report Share Posted July 18, 2011 I'm not sure if this is a bug or a programming issue. Here's my problem: The Send Email FB allows you to address the email to as many as eight email addresses in the "To..." field. So I've defined all eight email addresses as indirect vectors in the Send Email FB. I programmed the ability to enter up to eight addresses via ASCII in the HMI. Currently I only have three indirect vectors defined with ASCII email addresses, while the other five are undefined with all zeros in the MIs. When I try to send the email, the MI for the Status Message (in Send Email FB) reads "1" which means "In Progress," and stays there indefinitely. However, when I define only three email addresses in the "To..." field with indirect vectors that do contain ASCII email addresses, then everything works perfectly. So, my question is, why can't the Send Email FB send an email when some email addresses in the "To..." field contain indirect vectors that contain only zeros (and not ASCII email addresses)? Is this a bug or am I trying to do something that was not intended by the VisiLogic software engineers? Quote Link to comment Share on other sites More sharing options...
Stein Yair Posted July 18, 2011 Report Share Posted July 18, 2011 Hi, I tried to do what you're describing and it work OK for me. What versions of OS and VisiLogic are you using? Can you send me the application you're using? Quote Link to comment Share on other sites More sharing options...
razor_rich Posted July 18, 2011 Author Report Share Posted July 18, 2011 Thanks for your reply, Stein. I sent you a private message. Quote Link to comment Share on other sites More sharing options...
Michal Vesely Posted December 30, 2018 Report Share Posted December 30, 2018 Hi guys, I am facing exactly the same issue as razor_rich - when using indirect vectors as an e-mail address and some of them are empty, the e-mail fails to send and the Status Message is hanging with "1" - In Progress. In case the vector is filled by e-mail address, all works fine. So ti seems there is some issue handling the empty addresses. Does it mean that when using indirect vectors as address, they have to be always filled ? Unfortunately I could not find the answer anywhere on the net. Did you find a solution ? Could you share ? Thank you in advance, Quote Link to comment Share on other sites More sharing options...
MVP 2021 Joe Tauser Posted December 30, 2018 MVP 2021 Report Share Posted December 30, 2018 12 hours ago, Michal Vesely said: In case the vector is filled by e-mail address, all works fine. I've not tried to use the email block with empty addresses. One of my sayings is "Empirical Data is the Best Data". I would say you've run across one of the Truths of the Email Block. If it doesn't work with empty addresses, then don't do that. This post is seven years old and Stein never posted the solution. For a definitive answer, send your request and program to support@unitronics.com. Then please report back to us with the answer on this thread. Joe T. Quote Link to comment Share on other sites More sharing options...
Michal Vesely Posted January 9, 2019 Report Share Posted January 9, 2019 Further experiments revealed, that the issue was linked to my PC connecting to PLC via TCP/IP and performing the tests remotely "Online Test". In case of serial connection or PC not Online, e-mailing works fine even with empty e-mail addresses. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.