summaryrefslogtreecommitdiff
path: root/BUILD/Help/html/advanced/SendMail.html
blob: 10ea0e4a4f927f00ab86e7df4e524b894b84e20c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
	<TITLE></TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 3.0  (Win32)">
	<META NAME="CREATED" CONTENT="20091206;16574000">
	<META NAME="CHANGED" CONTENT="20091213;15581500">
	<META NAME="Info 1" CONTENT="">
	<META NAME="Info 2" CONTENT="">
	<META NAME="Info 3" CONTENT="">
	<META NAME="Info 4" CONTENT="">
	<STYLE TYPE="text/css">
	<!--
		@page { margin: 2cm }
		P { margin-bottom: 0.21cm }
		H3 { margin-bottom: 0.21cm }
		H3.western { font-family: "Arial", sans-serif }
		H3.cjk { font-family: "MS Mincho" }
		A:link { so-language: zxx }
	-->
	</STYLE>
</HEAD>
<BODY LANG="de-DE" DIR="LTR">
<H3 CLASS="western"><FONT FACE="Tahoma, sans-serif">Synchronize in
Batch Mode and send error notification via email</FONT></H3>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<OL>
	<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">Create
	a FreeFileSync batch file using &quot;<I>silent mode</I>&quot;.</FONT></P>
	<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">Set
	error handling to &quot;<I>Exit with Returncode &lt; 0</I>&quot; or
	&quot;<I>ignore errors</I>&quot; to avoid having a popup stop the
	program flow. In case errors occur FreeFileSync will abort with a
	returncode &lt; 0 which can be checked via the ERRORLEVEL batch
	command.</FONT></P>
	<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">Create
	a *.cmd or *.bat file to specify the location of FreeFileSync.exe
	and pass the name of the FreeFileSync batch file as first argument;
	e.g.:</FONT></P>
</OL>
<UL>
	<P STYLE="margin-bottom: 0cm"><SPAN ID="Rahmen1" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: none; padding: 0cm; background: #e6e6e6">
		<UL>
			<P ALIGN=LEFT STYLE="margin-right: 0.98cm; margin-bottom: 0cm"><FONT FACE="Courier New, monospace">C:\Program
			Files\FreeFileSync\FreeFileSync.exe C:\SyncJob.ffs_batch<BR>if not
			errorlevel 0 echo An error occured! &amp;&amp; pause</FONT></P>
		</UL>
	</SPAN><BR CLEAR=LEFT>
	</P>
</UL>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<P STYLE="margin-left: 1.46cm; margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">Instead
of displaying &quot;An error occurred!&quot; you can specify any
other command like sending an email notification (using a third party
tool).</FONT></P>
</BODY>
</HTML>
bgstack15