Package: mutt
Version: 1.5.18-1
Severity: important

Hello

If you start this script from crontab, user, it is not sending anything: 
again a found bug :) 

#!/bin/sh
source ~/.bashrc

echo "Email pages"

cd
mkdir emailpages
cd emailpages
cat .emailpages | while  read i  ; do

echo "$(date)  started" >> $HOME/emailpages/.emailpages_log

wget -k "$i" -O page.htm
EMAILTOBESENT="[email protected]"

mutt -e 'set content_type="text/html"' "$EMAILTOBESENT" -s "$(date) Dailyemail 
$i" < page.htm

rm page.htm

done



Best regards

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to