Jump to content
Joesteva

Sending attachments via email

Recommended Posts

Hi, I'm getting status 4 while trying to send the alarm log and the data tables via email, I think the issue might be related to the File Name, is this the name that I want to be reflected on the output file(the one to be sent via email) or is this an inside file name?, also I tried sending the Data Sampler but I didn't knew what the folder name was, the folder name for my data table and the alarm log are set automatically

Share this post


Link to post
Share on other sites

Are you able to send an email without an attachment first to test if the logic and email settings are set up correctly?

 

The file name is the file being linked from the SD card. If you are linking from a Data Sampler the folder name was created in the Sampler settings within UniLogic. Otherwise as you mentioned the data table and alarm log already have pre-defined folders.

Share this post


Link to post
Share on other sites

No, I haven't been able to send any email, even without any attachment(only text email), it stills goes to status -4. I'm using Unilogic 1.15. I tried first using a Gmail and then using the Corporative Email, non of them worked and they had the same behaviour. If the issue was an email configuration wouldn't the status be other than attachment error? Also, is there a way in this version to visualize the data tables in the web server?

Share this post


Link to post
Share on other sites

When sending the emails do you have a DNS server set up in the Panel Ethernet settings? If you continue to have issues please contact support@unitronics.com

 

Currently the web server does not have the ability to place a data table on screen.

Share this post


Link to post
Share on other sites

I want to note that should be allowed to "Untrusted applications" in your Google-account security settings.

 

About problem:

I also could not send any attachment. Emails without attachments goes normally.
Can you give an example?
Unilogic V1.17.58

Share this post


Link to post
Share on other sites

I HAVE SAME ISSUE 

Can't attached AlarmLog when try to do so i recive -4 error 

what is the filename that i need to put to send the latest Alarm Log

 

i success to send DT file and email without attachments

can you send sample on how to send the AlarmLog on EMAIL ?

Share this post


Link to post
Share on other sites

Hi There,

Please try to use the attached files. 

Before you are inserting the SD card DO NOT forget to format it with our SD Card Suite Tool, it will create the folders as it should be.

The first one is the vlp which includes the SW & the configuration  of the email server (in our case it's SMTP2GO.com) - Recommended for tests.

image.png

V570 email SMTP2GO Test.vlp

ALARM.UAL

Share this post


Link to post
Share on other sites

Hello All,

First, I want to apologize to all the forum people for answering on VisiLogic Studio.

About the UniLogic, currently this is a feature request that already added to our wish list, Sorry for the inconvenience.

As you already know, do not hesitate to contact us whenever you are facing a any doubt, question, request and etc.

Share this post


Link to post
Share on other sites

the file on the predefined folder in  0:/AlarmLog/AlarmLogs/ change the name on any event 

i try to put from example - the file name #"AlarmLog08_04_19-21_02_54.zip" and it works but the application require to send the latest event log when critical event was trigger

the problem is that the file name is change every day so i can't send the latest alarm log like i have on the pre defined folder 0:/AlarmLog/

 

there is missing description if the file name need to include the file name extension after the dot

when sending screen shoot it require to add .jpg to the file name and when sending DT it not require ?

appreciate your support

 

Share this post


Link to post
Share on other sites

Hi _MELLON_,

Quote

the problem is that the file name is change every day so i can't send the latest alarm log like i have on the pre defined folder 0:/AlarmLog/

In the upcoming release (version 26) a new member added to the "Alarm Status Struct" - "Last Alarm Log Zip Filename".  Use it to apply your requirements.

 

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...