How to send email from VTC of CONPROSYS?
- Tom_Contec
- Topic Author
- Offline
- 管理者
-
1 year 7 months ago #72
by Tom_Contec
How to send email from VTC of CONPROSYS? was created by Tom_Contec
I would like to send an email from VTC. Do you have a simple example?
Please Log in or Create an account to join the conversation.
- Tom_Contec
- Topic Author
- Offline
- 管理者
-
1 year 7 months ago - 1 year 7 months ago #73
by Tom_Contec
Replied by Tom_Contec on topic How to send email from VTC of CONPROSYS?
Here is a simple VTC for sending email.
TAG00 is linked with a HMI switch and email is sent when switch value is changed from 0 to 1. According to Determine component (X0:Y2), email is not sent when TAG00 is 0.
TAG01 is used to prevent sending email continuously. Email is sent only TAG00 is 1 and TAG01 is 0 (X0:Y2 and X0:Y3). After sending email, value of TAG01 is changed to 1 (X0:Y5). If switch state (TAG00) is 0 (X0:Y2), TAG01 needs to reset to 0 (X1:Y2).
In Send Mail component (X0:Y4), STAG00 is specified as Subject property and string for STAG00 is made by Calc String component (X0:Y1). STAG01 is used for email Body property and this is linked with a HMI textbox.
TAG00 is linked with a HMI switch and email is sent when switch value is changed from 0 to 1. According to Determine component (X0:Y2), email is not sent when TAG00 is 0.
TAG01 is used to prevent sending email continuously. Email is sent only TAG00 is 1 and TAG01 is 0 (X0:Y2 and X0:Y3). After sending email, value of TAG01 is changed to 1 (X0:Y5). If switch state (TAG00) is 0 (X0:Y2), TAG01 needs to reset to 0 (X1:Y2).
In Send Mail component (X0:Y4), STAG00 is specified as Subject property and string for STAG00 is made by Calc String component (X0:Y1). STAG01 is used for email Body property and this is linked with a HMI textbox.
Last edit: 1 year 7 months ago by Tom_Contec.
Please Log in or Create an account to join the conversation.
- Tom_Contec
- Topic Author
- Offline
- 管理者
-
1 year 7 months ago - 1 year 3 months ago #74
by Tom_Contec
Replied by Tom_Contec on topic How to send email from VTC of CONPROSYS?
You need to specify the target address from Send Mail component property. You can select from ADDR00 to ADDR09 from list box as target address, CC or BCC.
ADDRxx is determined by CONPROSYS WEB menu ([Setting] - [Mail]). Mail Address 1 in web menu is correspond to ADDR00 in VTC.
You also need to specify SMTP server. Below screenshot is an example for mailtrap.
SMTP Server : smtp.mailtrap.io
port Number : 25
User : Specift username for mailtrap
Password : Specify password for mailtrap
FROM : Specify sender email address
Use SMTP-AUTH : Must be enabled for mailtrap
Select SSL/TLS : Enable or Disable
Secure Type : Must be None or TLS for mailtrap
ADDRxx is determined by CONPROSYS WEB menu ([Setting] - [Mail]). Mail Address 1 in web menu is correspond to ADDR00 in VTC.
You also need to specify SMTP server. Below screenshot is an example for mailtrap.
SMTP Server : smtp.mailtrap.io
port Number : 25
User : Specift username for mailtrap
Password : Specify password for mailtrap
FROM : Specify sender email address
Use SMTP-AUTH : Must be enabled for mailtrap
Select SSL/TLS : Enable or Disable
Secure Type : Must be None or TLS for mailtrap
Last edit: 1 year 3 months ago by Tom_Contec.
Please Log in or Create an account to join the conversation.
- Tom_Contec
- Topic Author
- Offline
- 管理者
-
1 year 7 months ago #75
by Tom_Contec
Replied by Tom_Contec on topic How to send email from VTC of CONPROSYS?
Please Log in or Create an account to join the conversation.
- Tom_Contec
- Topic Author
- Offline
- 管理者
-
1 year 7 months ago #76
by Tom_Contec
Replied by Tom_Contec on topic How to send email from VTC of CONPROSYS?
Please Log in or Create an account to join the conversation.
Time to create page: 0.301 seconds
- You are here:
-
Home
-
Welcome
-
CONPROSYS Products
- How to send email from VTC of CONPROSYS?