mailtos from windows box

Reply

Join Date: Jul 2003
Posts: 106
Reputation: spikes is an unknown quantity at this point 
Solved Threads: 0
spikes's Avatar
spikes spikes is offline Offline
Junior Poster

mailtos from windows box

 
0
  #1
Jul 4th, 2003
Hi All,
i want my virus scanner to run an exe after completeing some tasks, it has the capacity to do this.
what i want is a program that will pick up the user name and mail a simple message, 'done', to my mail account. i am struggeling to find out how to do this, can anyone suggest a program, a language or batch file line to acheve this. i am not a programer, but not inexperianced eather. any lines of code would be helpfull

cheers

spikes
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,027
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 125
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: mailtos from windows box

 
0
  #2
Jul 4th, 2003
I've never done anything like this via windows before. My guess, however, is that you would need some form of mail or SMTP server (perhaps the one built-into IIS?) What VirusScan program are you using?
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 106
Reputation: spikes is an unknown quantity at this point 
Solved Threads: 0
spikes's Avatar
spikes spikes is offline Offline
Junior Poster

Re: mailtos from windows box

 
0
  #3
Jul 4th, 2003
using NAI enterprise virus scanner 7.0, it will allow you to enter the name of a program that you wish to run after a successfull update, i just want to know which of my users have updated and which havent.

spikes
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 27
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: mailtos from windows box

 
0
  #4
Jul 4th, 2003
I'm writing the program now... :-)
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 27
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: mailtos from windows box

 
0
  #5
Jul 4th, 2003
Okay, I'm done. The program can be downloaded here: http://tekmaven.dizla.com/emailer.zip

The only thing it requires the .NET Framework v1.1 (free download at Microsoft.com).

The ZIP file has 3 files in it: Emailer.exe, EmailerSettings.exe, and settings.config. To use emailer, extract it anywhere on your hard drive, and run EmailerSettings.exe. The Settings app will read the config file, and show you the settings. Adjust the settings for your needs. Below is an image of the settings app:

http://tekmaven.dizla.com/EmailerSettings.JPG

Next, set the virus scanner to execute Emailer.exe. When the virus scan finishes, emailer.exe will read the settings, send the email, and exit. It looks like this while sending the email:

http://tekmaven.dizla.com/emailer.JPG

I hope this is what you wanted :-).

Also, if Mr Gates (the TTF User) sees this, I will be releasing the VB.NET Source Code later today.
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 27
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: mailtos from windows box

 
0
  #6
Jul 5th, 2003
When ya get a chance, reply and tell me if this is what you needed.

I just want some satisfaction 8) .
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 106
Reputation: spikes is an unknown quantity at this point 
Solved Threads: 0
spikes's Avatar
spikes spikes is offline Offline
Junior Poster

Re: mailtos from windows box

 
0
  #7
Jul 7th, 2003
Hi there,
Thank you so much for your help on this, but unfortuneatlywhen it ran it genarated the following:

application has generated an exception that could not be handled

process id = 0x754 (1876), thread id =0x74c (1868)

any ideas?

this was run on a win2k machine with the .NET framework in place

cheers

spikes
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 27
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: mailtos from windows box

 
0
  #8
Jul 7th, 2003
Is it the .NET Framework 1.1? It has just recently came out, try doing a windows update, it will appear in the reccomended updates.
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 27
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: mailtos from windows box

 
0
  #9
Jul 7th, 2003
Here is also a direct link for it:
http://microsoft.com/downloads/detai...displaylang=en
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 106
Reputation: spikes is an unknown quantity at this point 
Solved Threads: 0
spikes's Avatar
spikes spikes is offline Offline
Junior Poster

Re: mailtos from windows box

 
0
  #10
Jul 7th, 2003
Hi,
I've installed the exe for .NET 1.1 that you gave me the link for and unfortuneatly the exception is still there.

Is there anything i can do to help solve this?, or is there another way of codeing the program.

cheers

spikes
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Windows NT / 2000 / XP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC