Failed to open registry key for Blat in scheduled task
2011-08-08 22:12:06 GMT
I am using blat 2.6.2 from Windows 7 Home premium 64 bit to send email from batch files.
When I run the batch file manuallu everything works; when I schedule it through the "Task Scheduler" i got the error
"Failed to open registry key for Blat"
My batch scritp tries to run:
.\blat\bin\blat.exe robocopy.log -s "TUTTO OK nel backup del PC di casa" -to toaddress <at> gmail.com -f from <at> email.it -cc ccaddress <at> gmail.com -p emailit_nellino -debug
and it gets:
Blat v2.6.2 w/GSS encryption (build : Feb 25 2007 12:06:19)
Failed to open registry key for Blat
To set the SMTP server's name/address and your username/email address for that
server machine do:
blat -install server_name your_email_address
or use '-server <server_name>' and '-f <your_email_address>'
aborting, nothing sent
The task is scheduled with the option "run with highest privileges" using an Administrator account.
Thanks for every help!