How I can send an email with variable attachment?

FAQ #101966

You want to change the file name of the attachment. Because you log every day trends and save them daily in a new .csv file. The actually date is coded in the file name. Now you want to send an email every day with the actually file. See the PG5 example below.

Note:

In the attached example the data’s will be stored daily. If you store the data’s weekly or monthly you have to adapt the program especially the file name in the log file inside of the SendMail FBox.

Additionally in the example is the function implemented that you can give directly the SMTP server name and the IP Address is not needed. The advantage is if your provider change the IP address you do not need to adapt the program see FAQ 101850 for more information about this topic.

Categories

Communication

PG5 2.0 / E-Mail

PG5 2.0

PG5 2.0 / Fupla

PG5 2.1

/ Fupla

PG5 2.1 / Fupla

Last update: 16.11.2015 12:45

First release: 07.10.2015 11:47

Views: 3

The requested software / document is no longer marketed by Saia-Burgess Controls AG and without technical support. It is an older software version which can be operated only on certain now no longer commercially available products.

Download