I am trying to implement calibre on a linode vps server. I have gotten it to work in general for other periodicals by running a script containing something like the following.
ebook-convert /opt/calibre/resources/recipes/nytimes.recipe nytimes.mobi
calibre-smtp --attachment nytimes.mobi --relay smtp.gmail.com --port 587 --username gmailusername --password "gmailpassword" --encryption-method TLS email@example.com firstname.lastname@example.org
Is there any way I can specify the ny times user name and password in the command line, the shell, or in the recipe. This is a headless server which will run these using crontab? And similarly for wsj and economist?