Set WSHNetwork = CreateObject("Wscript.Network")
UserString = WSHNetwork.UserName
Sned the email part you will probably want to use CDO. There have been many posts related to that on this forum. Do a little searching and you should find a full script I posted recently.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.