]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
notify: Use SENDTO properly as the address for emails
authorAidan Van Dyk <aidan@ifax.com>
Tue, 23 Sep 2008 15:57:08 +0000 (15:57 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Tue, 23 Sep 2008 15:57:08 +0000 (15:57 +0000)
It's setup, and used everywhwere *except* the actual send line.

util/notify.sh.in

index d9b9f9156e08c30d6ad685632742386b2a1775a7..0f4dfdf642dea7dae7fedcb56b00cd44b0edff4b 100644 (file)
@@ -145,7 +145,7 @@ do_notify()
 
 
     eval CreateMailMessage "$template" $ATTACH_ARGS \
-            2>$ERRORSTO | $SENDMAIL -f"$FROMADDR" -oi "$mailaddr"
+            2>$ERRORSTO | $SENDMAIL -f"$FROMADDR" -oi "$SENDTO"
 
 }