mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
added " after email server
This commit is contained in:
parent
cc5d1c50ae
commit
2fd42f91ff
1 changed files with 2 additions and 2 deletions
|
@ -146,12 +146,12 @@ do_exit() {
|
||||||
if [ "$Email_successful" = "yes" -a "$nzbStatus" = 0 ]; then
|
if [ "$Email_successful" = "yes" -a "$nzbStatus" = 0 ]; then
|
||||||
User=""
|
User=""
|
||||||
if [ -n "$Email_User" -a -n "$Email_Pass"]; then User="-xu $Email_User -xp $Email_Pass" ; fi
|
if [ -n "$Email_User" -a -n "$Email_Pass"]; then User="-xu $Email_User -xp $Email_Pass" ; fi
|
||||||
$sendEmail -f "$Email_From" -t "$Email_To" -s "$Email_Server $User -u "nzb download succeded" -m "$NZBPP_NZBFILENAME downloaded succesfully"
|
$sendEmail -f "$Email_From" -t "$Email_To" -s "$Email_Server" $User -u "nzb download succeded" -m "$NZBPP_NZBFILENAME downloaded succesfully"
|
||||||
fi
|
fi
|
||||||
if [ "$Email_failed" = "yes" -a "$nzbStatus" != 0 ]; then
|
if [ "$Email_failed" = "yes" -a "$nzbStatus" != 0 ]; then
|
||||||
User=""
|
User=""
|
||||||
if [ -n "$Email_User" -a -n "$Email_Pass"]; then User="-xu $Email_User -xp $Email_Pass" ; fi
|
if [ -n "$Email_User" -a -n "$Email_Pass"]; then User="-xu $Email_User -xp $Email_Pass" ; fi
|
||||||
$sendEmail -f "$Email_From" -t "$Email_To" -s "$Email_Server $User -u "nzb download failed" -m "$NZBPP_NZBFILENAME download failed due to $1"
|
$sendEmail -f "$Email_From" -t "$Email_To" -s "$Email_Server" $User -u "nzb download failed" -m "$NZBPP_NZBFILENAME download failed due to $1"
|
||||||
fi
|
fi
|
||||||
exit $1
|
exit $1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue