Mail subject change

Questions about Cobian Reflector
Post Reply
Volpad
Posts: 8
Joined: 09 Feb 2022, 12:22

Mail subject change

Post by Volpad »

Hi,

I have configured the program, to sent an email when each task is finished, containing the log, as a body.
However, I have multiple tasks on the same computer that run every day. So in the morning, I have 3 or 4 emails with the logs.
I would like to know, from what task is each mail I have received, by looking at the subject.

Is that possible?
User avatar
cobian
Site Admin
Posts: 4667
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Mail subject change

Post by cobian »

Use %TASKNAME in the subject
--
Luis Cobian
Cobian Backup's creator
gvd
Posts: 127
Joined: 05 Oct 2021, 16:05
Location: Belgium

Re: Mail subject change

Post by gvd »

Hi Volpad,

I use "[%COMPUTERNAME] (%DATENOTIME) - %TASKNAME - %ERRORS error(s)" as subject

This gives a nice "[BackedUpComputerName] (2022-02-09) - TaskName - 0 error(s)".

Subject says everything. No need to open the mail :-D.
Gabriel
Volpad
Posts: 8
Joined: 09 Feb 2022, 12:22

Re: Mail subject change

Post by Volpad »

Thank you both for your replies!!

Is there a library anywhere with the available vars?

Also, I was thinking of filtering the mail received through outlook, in a folder, so I dont have to see all the mails, as their number is constant each day.
However, it would be better if the mails with errors are filtered separately.

So, I was thinking if I could use a script in the subject textbox.

eg based on previous post by gvd:

[%COMPUTERNAME] (%DATENOTIME) - %TASKNAME" %ERRORS == 0 ? " - %ERRORS error(s)" : " - ATTENTION! %ERRORS error(s) occurred""

or

"%ERRORS".equals("0") ? [%COMPUTERNAME] (%DATENOTIME) - %TASKNAME - %ERRORS error(s) : ATTENTION! [%COMPUTERNAME] (%DATENOTIME) - %TASKNAME - %ERRORS error(s)

so I can filter the word Attention...

Would something like this work in any way?
User avatar
cobian
Site Admin
Posts: 4667
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Mail subject change

Post by cobian »

The help file is your friend. All parameters are listed there.
--
Luis Cobian
Cobian Backup's creator
Volpad
Posts: 8
Joined: 09 Feb 2022, 12:22

Re: Mail subject change

Post by Volpad »

Sorry for the trouble, but where can I find the help file?
I searched the installed folder and this forum but I can't see it anywhere.
User avatar
cobian
Site Admin
Posts: 4667
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Mail subject change

Post by cobian »

F1 like in any other program since the 90s.
--
Luis Cobian
Cobian Backup's creator
Volpad
Posts: 8
Joined: 09 Feb 2022, 12:22

Re: Mail subject change

Post by Volpad »

Lol...
Really sorry for the trouble...

I was sure that it was in front of my eyes.
I checked everywhere but the actual application... :oops:
User avatar
cobian
Site Admin
Posts: 4667
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Mail subject change

Post by cobian »

:OK ;)
--
Luis Cobian
Cobian Backup's creator
Post Reply