OK, so I am one step away from completing a .bat file. . .
when a user clicks on a link, a .bat file is ran . . . this file extrapolates the name of the user's computer and creates an email message automatically addressed to our company's IT department along with the name of the computer. . .
does anyone know the command to automatically send the message? as it is now, everything is populated correctly, however the user still has to click "send". . .
PLEASE help me out, I have been searching the net for days now with now luck . . .
again in summation, what is the command prompt command to send the email?
- code of script -
@ECHO OFF
START mailto:helpdesk1@oncologyallies.com?subject=%computername%^&body=%computername%
also, does anyone know a way I could include the ip address in the body of the email? right now our techs can see the computer name in the subject. . . but it would be nice if the ip was included in case the DNS is messed up. . . something like %ip% ???
this is for windows xp btw. . .
thanks everyone for your help!! this has been realllllllllllly tough . . .
when a user clicks on a link, a .bat file is ran . . . this file extrapolates the name of the user's computer and creates an email message automatically addressed to our company's IT department along with the name of the computer. . .
does anyone know the command to automatically send the message? as it is now, everything is populated correctly, however the user still has to click "send". . .
PLEASE help me out, I have been searching the net for days now with now luck . . .
again in summation, what is the command prompt command to send the email?
- code of script -
@ECHO OFF
START mailto:helpdesk1@oncologyallies.com?subject=%computername%^&body=%computername%
also, does anyone know a way I could include the ip address in the body of the email? right now our techs can see the computer name in the subject. . . but it would be nice if the ip was included in case the DNS is messed up. . . something like %ip% ???
this is for windows xp btw. . .
thanks everyone for your help!! this has been realllllllllllly tough . . .