Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


vcoppije
2014-01-07T10:18:26Z
Hi,

I am evaluating VisualCron and I have a question concerning the Output of the List File Task.

I want to use the result to send an email of files in an error folder.The problem is that the output apparently does not use a CRLF for each file, which gives a cluttered output. Is there a solution to apply formatting to the list.

The code I use in the body of the email is the following:
Total errors yesterday: {STRING(RowCount|{TASK(9ceffb1e-0cc8-45cc-ab35-dc1580ae5c90,StdOut)})}
{TASK(9ceffb1e-0cc8-45cc-ab35-dc1580ae5c90,StdOut)}




The output produced is this:
Total errors yesterday: 14
\\DURDBS01\TEMP opload sharepoint\CV-VER-1300117_tervuren lot 7.pdf \\DURDBS01\TEMP opload sharepoint\CV-VER-1300118_asse-zellik lot 12.pdf \\DURDBS01\TEMP opload sharepoint\CV-VER-1300119_lanaken lot 1.pdf \\DURDBS01\TEMP opload sharepoint\CV-VER-1300120_bocholt lot 14.pdf \\DURDBS01\TEMP opload sharepoint\CV-VER-1300121_bocholt lot 36.pdf \\DURDBS01\TEMP opload sharepoint\CV-VER-1300122_jemeppe lot 9.pdf \\DURDBS01\TEMP opload sharepoint\CV-VER-1300123_merelbeke lot 19.pdf \\DURDBS01\TEMP opload sharepoint\CV-VER-1300124_merelbeke lot 21.pdf \\DURDBS01\TEMP opload sharepoint\CV-VER-1300125_bocholt lot 36.pdf \\DURDBS01\TEMP opload sharepoint\CV-VER-1300126_lanaken lot 1.pdf \\DURDBS01\TEMP opload sharepoint\CV-VER-1300127_merelbeke lot 19.pdf \\DURDBS01\TEMP opload sharepoint\LG-VER-1300052_zottegem-straatje lot 8.pdf \\DURDBS01\TEMP opload sharepoint\LG-VER-1300053_emelgem lot 7.pdf \\DURDBS01\TEMP opload sharepoint\NE-VER-1300075_lede lot 5.pdf


Regards,
Vincent
Sponsor
Forum information
Support
2014-01-07T11:12:46Z
I tested by using the File write Task with the output from previous Task (list files) and it contains CRLF when I view it in Notepad++.

The problem might be that you try to send a HTML email instead of text?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
vcoppije
2014-01-08T13:32:57Z
Hi Henrik,

Thx for the quick feedback.

I am not sending as HTML and I do get the line breaks when I use the File Write task.
It seems that the problem is related to a setting in Outlook which removes the line breaks.

I found the solution in the following article http://support.microsoft.com/kb/287816/en-us 

When I apply this setting the mail is formatted correctly.


Regards,
Vincent

Support
2014-01-08T15:01:31Z
Thanks for the feedback!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top