Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-07-2007, 01:07 PM   #1 (permalink)
fannedman
Guest
 
Posts: n/a
Question Automatically send email


There is an application at home which constantly records its activities in a log file. I want to access this log file or get the log file as an attachment to my mail.
I tried using the smtp protocol by using blat.dll, but still it has some problems
I can handle the automation part i.e the periodic execution of the mail sending software, copying log files using autohotkey, but i need the mail sending software or method to send the mail, any help?
 
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 06-07-2007, 01:49 PM   #2 (permalink)
Rubik's Uncle!!
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,791
Default Re: Automatically send email

If you know .NET programming then you can use the MailMessage and SmtpMail Class to send the mail with attachment.

If you can give specifications then I can build you a small tool to do that.
__________________
i5 2400 | DH67BL | G.Skill Ripjaw 4 GB | FSP SAGA II 500W | CM 430 Black Elite | MSI R6850 Cyclone PE/OC | XBox 360 Controller | 21.5" Samsung Sync Master 2233 | 4 Mbps @75GB FUP :)
Battlefield 3 Multiplayer Discussion | Battlefield 3 Low Latency Servers List
Charan is online now  
Old 06-07-2007, 01:55 PM   #3 (permalink)
fannedman
Guest
 
Posts: n/a
Default Re: Automatically send email

Quote:
If you know .NET programming then you can use the MailMessage and SmtpMail Class to send the mail with attachment.

If you can give specifications then I can build you a small tool to do that.
I need to mail a single log file periodically, that is all
 
Old 06-07-2007, 02:33 PM   #4 (permalink)
Rubik's Uncle!!
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,791
Default Re: Automatically send email

Send me you EmailID in PM. I have built a simple app. I have hardcoded everything. This application will send mails only for your emailID. Also tell the logs path or log file name. I will hard code even that also or may be make it configurable.
I decided this because no others should be able to take advantage of the program, if I make the To EmailID configurable.
Charan is online now  
Old 06-07-2007, 05:08 PM   #5 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: Automatically send email

The best way is to use "Key Logger" (as u have ur private computer. So u can!)

Most of the key loggers have the function to send automatic log files to specific email ID.
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline  
Old 06-07-2007, 09:57 PM   #6 (permalink)
fannedman
Guest
 
Posts: n/a
Post Re: Automatically send email

Quote:
Originally Posted by shirish_nagar
The best way is to use "Key Logger" (as u have ur private computer. So u can!)

Most of the key loggers have the function to send automatic log files to specific email ID.
Yeah but i dnt want keystrokes, i have written a script in autohotkey which analyses a program's state and outputs it to log file
 
Old 08-07-2007, 03:13 PM   #7 (permalink)
Booting Nicotine!!
 
spironox's Avatar
 
Join Date: Jan 2004
Location: Paradox Box in the scrap yard
Posts: 313
Default Re: Automatically send email

well then just ask the charangk to build up a script for you ...well i didnt find any auto mailer online
__________________
http://spironox.blogspot.com

Rig : Asus P4 p 800SE ( happy )
Netbook : Google chrome Cr-48 Mario !!! now that's what i call lucky & also an iBookG4 (2004)
spironox is offline  
Old 08-07-2007, 04:17 PM   #8 (permalink)
Rubik's Uncle!!
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,791
Default Re: Automatically send email

you have to wait till tmro. I dont have VS installed at home. will do it from office.
Charan is online now  
Old 09-07-2007, 05:30 PM   #9 (permalink)
Rubik's Uncle!!
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,791
Default Re: Automatically send email

OK now before i give you the program .. Please let me know what will be the content of the log file.

EDIT:Hmmm.. Am i smelling something here..... hide a program completely

@fannedman Please explain what is the complete intension for using the program? I will give this program only if you are running it in your own system. If you are trying to put it into your college system .. then im sorry. . BTW the program is ready

Others members: Let me know if I have to give the software to him or not!!.
__________________
i5 2400 | DH67BL | G.Skill Ripjaw 4 GB | FSP SAGA II 500W | CM 430 Black Elite | MSI R6850 Cyclone PE/OC | XBox 360 Controller | 21.5" Samsung Sync Master 2233 | 4 Mbps @75GB FUP :)
Battlefield 3 Multiplayer Discussion | Battlefield 3 Low Latency Servers List

Last edited by Charan; 09-07-2007 at 05:37 PM.
Charan is online now  
Old 09-07-2007, 06:05 PM   #10 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Red face Re: Automatically send email

Quote:
Originally Posted by charangk
OK now before i give you the program .. Please let me know what will be the content of the log file.

EDIT:Hmmm.. Am i smelling something here..... hide a program completely

@fannedman Please explain what is the complete intension for using the program? I will give this program only if you are running it in your own system. If you are trying to put it into your college system .. then im sorry. . BTW the program is ready

Others members: Let me know if I have to give the software to him or not!!.
yeh... As there he didn't mentioned he's using college resources to download WHAT type of contents, plz ensure that fannedman will be use it for LEGAL purposes only.

Plz check his intension b4 giving program to him.

@fannedman,
I'm not offencing you. But can u please tell us ur intension to use this program???
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline  
Old 09-07-2007, 07:09 PM   #11 (permalink)
Booting Nicotine!!
 
spironox's Avatar
 
Join Date: Jan 2004
Location: Paradox Box in the scrap yard
Posts: 313
Default Re: Automatically send email

hmm again the legal issues are here ... good point i think i missed on that myself ...
__________________
http://spironox.blogspot.com

Rig : Asus P4 p 800SE ( happy )
Netbook : Google chrome Cr-48 Mario !!! now that's what i call lucky & also an iBookG4 (2004)
spironox is offline  
Old 09-07-2007, 07:28 PM   #12 (permalink)
Rubik's Uncle!!
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,791
Default Re: Automatically send email

Here is a part of the config file for those who are interested
the program sends a mail to a hardcoded address attaching the file which is pointed out by the "fullpath" key with a "interval" in minutes. I hardcoded the email address sothat the program will not be missused.BTW the email contains all details from where the mail came(IP address ) and other stuff. we can also add the useraccount/machine name as data .

Code:
<add key="fullpath" value="C:\temp.log"></add> 
<add key="interval" value="15"></add> <!-- Interval in minutes 15 means 15 minutes-->
__________________
i5 2400 | DH67BL | G.Skill Ripjaw 4 GB | FSP SAGA II 500W | CM 430 Black Elite | MSI R6850 Cyclone PE/OC | XBox 360 Controller | 21.5" Samsung Sync Master 2233 | 4 Mbps @75GB FUP :)
Battlefield 3 Multiplayer Discussion | Battlefield 3 Low Latency Servers List
Charan is online now  
Old 09-07-2007, 07:43 PM   #13 (permalink)
Booting Nicotine!!
 
spironox's Avatar
 
Join Date: Jan 2004
Location: Paradox Box in the scrap yard
Posts: 313
Default Re: Automatically send email

__________________
http://spironox.blogspot.com

Rig : Asus P4 p 800SE ( happy )
Netbook : Google chrome Cr-48 Mario !!! now that's what i call lucky & also an iBookG4 (2004)
spironox is offline  
Old 09-07-2007, 08:37 PM   #14 (permalink)
fannedman
Guest
 
Posts: n/a
Red face Re: Automatically send email

I understand your concerns and respect your intentions,
I know this kind of request and my previous posts raises doubts about my credibility. If i wanted to do anything with downloads, i could have done that with utorrent webui, and i'm not interested in other ppl's lives, i wont be using it for keyloggers or any of that illegal stuff.
I finished my be and have got a job at a well known mnc, the date of joining is still far, so i've temporarily decided to help the system admin(not the college), he wants to read a list of logged on users in four departments on his mobile, thru gprs

I have one more confession to make, as you might have come across in an other thread, i have written a few viruses , ( and guys at mcafee have actually analyzed and given it a name http://us.mcafee.com/virusInfo/defau...virus_k=142280
and at sophos http://www.sophos.com/virusinfo/anal...2ahkheapa.html
and also at trend micro )
I actually meant not harm(-> this may sound not believable but really i didnt )

And dnt point out that i had mentioned that application was at home. I simply asked that so i can get a method
Now if you still think my character is questionable,and dont want to give it, i can understand

Last edited by fannedman; 09-07-2007 at 08:53 PM.
 
Old 09-07-2007, 08:50 PM   #15 (permalink)
Rubik's Uncle!!
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,791
Default Re: Automatically send email

:gulp: Now what to tell, Im confused ..... We did not try to offend you. We do come accross many instances where many girl's email ID's are hacked and .. you know what can happen..... I just wanted to confirm. One more thing .. the email you PMed me .. is it yours or the admins?....
__________________
i5 2400 | DH67BL | G.Skill Ripjaw 4 GB | FSP SAGA II 500W | CM 430 Black Elite | MSI R6850 Cyclone PE/OC | XBox 360 Controller | 21.5" Samsung Sync Master 2233 | 4 Mbps @75GB FUP :)
Battlefield 3 Multiplayer Discussion | Battlefield 3 Low Latency Servers List
Charan is online now  
Old 09-07-2007, 08:56 PM   #16 (permalink)
fannedman
Guest
 
Posts: n/a
Post Re: Automatically send email

Quote:
Originally Posted by charangk
:gulp: Now what to tell, Im confused ..... We did not try to offend you. We do come accross many instances where many girl's email ID's are hacked and .. you know what can happen..... I just wanted to confirm. One more thing .. the email you PMed me .. is it yours or the admins?....
Common id , recently created, me and the admin both know it
 
Old 09-07-2007, 09:11 PM   #17 (permalink)
Rubik's Uncle!!
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,791
Default Re: Automatically send email

Where will be the program run? will there be any user using the system ?
__________________
i5 2400 | DH67BL | G.Skill Ripjaw 4 GB | FSP SAGA II 500W | CM 430 Black Elite | MSI R6850 Cyclone PE/OC | XBox 360 Controller | 21.5" Samsung Sync Master 2233 | 4 Mbps @75GB FUP :)
Battlefield 3 Multiplayer Discussion | Battlefield 3 Low Latency Servers List
Charan is online now  
Old 09-07-2007, 09:16 PM   #18 (permalink)
fannedman
Guest
 
Posts: n/a
Post Re: Automatically send email

Quote:
Originally Posted by charangk
Where will be the program run? will there be any user using the system ?
It'll be left unattended most of the time
 
Old 09-07-2007, 09:31 PM   #19 (permalink)
Rubik's Uncle!!
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,791
Default Re: Automatically send email

You got to wait for one more day ... Till i decide.. what next ok ..
__________________
i5 2400 | DH67BL | G.Skill Ripjaw 4 GB | FSP SAGA II 500W | CM 430 Black Elite | MSI R6850 Cyclone PE/OC | XBox 360 Controller | 21.5" Samsung Sync Master 2233 | 4 Mbps @75GB FUP :)
Battlefield 3 Multiplayer Discussion | Battlefield 3 Low Latency Servers List
Charan is online now  
Old 09-07-2007, 09:35 PM   #20 (permalink)
fannedman
Guest
 
Posts: n/a
Smile Re: Automatically send email

Relax man, i already found a way to do that using autohotkey, but its a round about way, fragile method
 
Old 10-07-2007, 05:42 PM   #21 (permalink)
ax3
Cool as a CUCUMBAR ! ! !
 
ax3's Avatar
 
Join Date: Dec 2003
Posts: 5,052
Default Re: Automatically send email

rnt u trying 2 SPY on some1 ....... may b a girl in college who uses her machine @ home & which has spyware installed by u .......... some how .........

comeon ............... & u wanna just extract her password ....... or just spying is enough .........
__________________
... W H O T ...
ax3 is offline  
Old 10-07-2007, 08:23 PM   #22 (permalink)
fannedman
Guest
 
Posts: n/a
Cool Re: Automatically send email

Quote:
Originally Posted by ax3
rnt u trying 2 SPY on some1 ....... may b a girl in college who uses her machine @ home & which has spyware installed by u .......... some how .........

comeon ............... & u wanna just extract her password ....... or just spying is enough .........
ha, comon man, i figure you must have had similar queries related to such topic and have come to such a conclusion based on previous experience.

I reckon its not possible to completely convince someone over the internet about your benign intentions
 
Old 10-07-2007, 08:41 PM   #23 (permalink)
Rubik's Uncle!!
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,791
Default Re: Automatically send email

Please no fights.. fannedman has already given the information we needed.

@fannedman check PM.
__________________
i5 2400 | DH67BL | G.Skill Ripjaw 4 GB | FSP SAGA II 500W | CM 430 Black Elite | MSI R6850 Cyclone PE/OC | XBox 360 Controller | 21.5" Samsung Sync Master 2233 | 4 Mbps @75GB FUP :)
Battlefield 3 Multiplayer Discussion | Battlefield 3 Low Latency Servers List
Charan is online now  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I send .Exe file through Email Kaushal Hiwarkar Software Q&A 14 11-03-2007 10:54 AM
how to send email from a web page amit_at_stg Internet & WWW 4 08-05-2006 08:51 AM
I can't send an email Gauravchi Internet & WWW 4 04-12-2005 12:54 PM
How to send html file as email?? Big Boss Internet & WWW 2 15-12-2004 12:24 PM

 
Latest Threads
- by abhidev
- by Tenida
- by Charan
- by Niilesh
- by Who
- by Sujeet

Advertisement




All times are GMT +5.5. The time now is 07:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2