My question has been asked by others multiple times in other forums, but, a final answer has not been posted. And, those forums have so little activity, hopefully enough eyes will see this and provide a definitive answer. First, the basics:
Windows shared hosting
VBScript file not associated with an ASP file
Plesk Scheduler runs the script as a Task
script sends email via CDOSYS
I found a fairly standardized VBScript using CDOSYS (multiple sites - same basic code that works - here is an example:
http://www.lunarforums.com/asp_support/solution_to_using_form_to_send_email_from_asp_page_using_cdosys-t44402.0.html). I can get it to work when launched from my DSL-connected PC in which my ISP authenticates and I can have it send an email address "to" or "from" any server (i.e. yahoo.com, bellsouth.net).
I have also gotten it to work when launched as a Plesk Scheduler Task in which i use "localhost", but, the "to" address has to be within my domain (i.e. CANNOT be yahoo.com, bellsouth.net), otherwise I get a "551 not our customer" error. If I try to run the task in which the script tries to authenticate through my domain's email server, the task fails with such severity that I don't even receive "The Plesk Scheduler notification" email. If I try to run the task in which the script tries to authenticate through my ISP's email server, I get a "transport failed to connect to the server" error.
Is there a way that a VBScript run as a Plesk Scheduler Task can send an email to different (non-LunarPages) domain email address? Or, is this an issue in which LunarPages does not allow this to happen?