1 Attachment(s)
Need *.vbs script help, about mailing...
I need to create a *.vbs file which sends a mail to a predefined adress (or adress list) when i click on it...
I got this script by reading a lot of example scripts, but it doesn't work..... Can anyone provide such a script...
No buttons no forms... playinly written in a text editor..
So when i double click it , it sends itself to an predefined adress
the body of the mail will be drawn from a file which changes every day (log file) and the mail must be sendt by simply doubleclicking it... lets call it mail.vbs
Can anyone help me out here
(or do i have to mail the ILOVEYOU.vbs creator(bad man) to get help)
Well...talk to me if you know some code that can help me with sending mail from an *.vbs file
(attachemnt: the code i have so far...not working)
Well..this code required some "server"
Got the error message "need object "server"
and it was pointing to the CDots.line (line 2 of your code)
So my question is? do you use win2000 or winNT and/or do you run a server on your machine? (asp/php) server?
Cause i run winME and have understood that the code migth
only run under win2000 as it has a built in server...
Do you know how to access SMTP engine?
well...ofcourse, through *.vbs code.....?
im thankfull for your help...
And im sure the scripts works very well on win2k
But my problem is that im running PWS on winME (&98)
and that it doesnt support CDONTS ...
But maybe i will install win2k soon....
since it has some advantages...
Very helpfull for your reply...and hope you can dig up omething about SMTP if you know where to find info on it...
Do you know how to "connect" a script
to a application which is running...
(EX: i have a script,which starts notepad, then the script,input text to the notepad application)
Do you know how to do something like that?