فهرست منبع

change smtp port to 587

larry1chan@qq.com 8 ماه پیش
والد
کامیت
e7e35d7c29
2فایلهای تغییر یافته به همراه32 افزوده شده و 1 حذف شده
  1. 2 1
      recipe/upkindle.sh
  2. 30 0
      recipe/upkindle2.sh

+ 2 - 1
recipe/upkindle.sh

@@ -21,7 +21,8 @@ ebook-convert $MOBIPATH/$TODAY-orient.mobi $MOBIPATH/$TODAY-orient.epub
 #
 #  send book to kindle
 #
-calibre-smtp  --subject "oriental news $TODAY" --attachment $MOBIPATH/$TODAY-orient.epub --relay hwsmtp.exmail.qq.com --port 465 --username vortify-lc@algometic.com --password "samP@n?1" --encryption-method SSL vortify-lc@algometic.com larry1chan11@kindle.com ""
+#calibre-smtp  --subject "oriental news $TODAY" --attachment $MOBIPATH/$TODAY-orient.epub --relay hwsmtp.exmail.qq.com --port 465 --username vortify-lc@algometic.com --password "samP@n?1" --encryption-method SSL vortify-lc@algometic.com larry1chan11@kindle.com ""
+calibre-smtp  --subject "oriental news $TODAY" --attachment $MOBIPATH/$TODAY-orient.epub --relay smtp.qq.com --port 587 --username larry1chan@qq.com --password "xhybazbbucdyceed" --encryption-method SSL larry1chan@qq.com larry1chan11@kindle.com ""
 
 #
 #  rm mobi file

+ 30 - 0
recipe/upkindle2.sh

@@ -0,0 +1,30 @@
+#!/bin/sh
+TZ=Asia/Hong_Kong
+TODAY=`date +"%Y%m%d"`
+ROOTPATH=/calibre
+RECIPEPATH=$ROOTPATH/recipe
+MOBIPATH=/news
+OPTIONS="--output-profile kindle_pw"
+echo $RECIPEPATH
+#
+#
+#  convert epub to mobi 
+#
+#ebook-convert "$RECIPEPATH/oriental_daily_pure.recipe" $MOBIPATH/$TODAY-orient.mobi $OPTIONS
+#
+#
+#  download news and save output to epub
+#
+#
+#ebook-convert $MOBIPATH/$TODAY-orient.mobi $MOBIPATH/$TODAY-orient.epub 
+#
+#
+#  send book to kindle
+#
+#calibre-smtp  --subject "oriental news $TODAY" --attachment $MOBIPATH/$TODAY-orient.epub --relay hwsmtp.exmail.qq.com --port 465 --username vortify-lc@algometic.com --password "samP@n?1" --encryption-method SSL vortify-lc@algometic.com larry1chan11@kindle.com ""
+calibre-smtp  --subject "oriental news $TODAY" --attachment $MOBIPATH/$TODAY-orient.epub --relay smtp.qq.com --port 465 --username larry1chan@qq.com --password "xhybazbbucdyceed" --encryption-method SSL larry1chan@qq.com larry1chan11@kindle.com ""
+
+#
+#  rm mobi file
+#
+#rm $MOBIPATH/$TODAY-orient.mobi