home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > General Tech Discussion
Ask a Tech Support Question (free)!

automatic email?

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1489
Discussions: 200,927, Posts: 2,379,132, Members: 246,292
Old February 26th, 2002, 05:01 PM   Digg it!   #1 (permalink)
Senior Member
 
Join Date: Oct 2001
Location: Utah
Posts: 551
automatic email?

I was wondering if this could be done...
I want to have a computer send me a weekly email automatically, with some files attached. The comp is running XP, and Outlook.

I remotely help out in keeping some comps running at an office, and I would like to have it email some of the activity logs, like Norton, and the backup program, and ZA. Would be a lot easier way of keeping an eye on things, since I have to remote control with dial-up, and it's a 45 minute drive.

I wouldn't mind if I had to use another program, as long as it was non-intrusive to the user. But, if Outlook could possibly do this, that would be good. I wouldn't mind also if I even had to write a script or program that would just utilize outlook, but I'm afraid I don't know where to start on that one.
TIA,
dragonb
dragonb is offline   Reply With Quote
Old February 26th, 2002, 05:32 PM     #2 (permalink)
Senior Member
 
PonzSpyder's Avatar
 
Join Date: Oct 2001
Location: New Jersey
Posts: 707
Send a message via AIM to PonzSpyder Send a message via Yahoo to PonzSpyder
You could do something like that in VB or VBA I would think, in VB it would go a little like this:
Code:
Dim out As Object
Set out = CreateObject("Outlook.Application")

With out.CreateItem(olMailItem)

    'add recipients one at a time like this
    .Recipients.Add "your_email@domain.com"
    .Recipients.Add "other_email@domain.com"
    
    'add a subject line to the email
    .Subject = "Test Message"  

    'add attachments one at a time like this
    .Attachments.Add "c:\ZALog.txt"
    .Attachments.Add "c:\NortonLog.txt"

End With
That code would get the email ready for sending and put it in your outbox but Outlook would still need to "Send/Receive" at some point for it to actually get sent. Also, I don’t know how to have it activate once per week other than putting the compiled exe in the task scheduler. Sorry, my VB knowledge is somewhat limited in a few areas but I figured I am at least throwing out some ideas for ya

EIDT: Actually, if you could run a macro recorder while you do it yourself the first time and get a way for that macro to run every week on its own, it could work. Although, I dont seem to see a macro recorder in Outlook right now
__________________
"It's only after we've lost everything that we're free to do anything"

www.rjponzio.com

Last edited by PonzSpyder : February 26th, 2002 at 05:36 PM.
PonzSpyder is offline   Reply With Quote
Old February 26th, 2002, 07:29 PM     #3 (permalink)
Senior Member
 
Join Date: Oct 2001
Location: Utah
Posts: 551
thx, that's what I was looking for. Time to dust off the old vb and see what I can do. thx
dragonb
dragonb is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2865)
Obama the Muslim (14)
Is the PSU I received dead? (10)
windows vista security holes (9)
HIS HD5770 graphic card question (15)
Foreign voltage (10)
Print spooler problem (13)
Install XP pro and a Vista laptop ?.. (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
Ideal cheap graph card for PC-Gamin.. (15)
New Computer wont recognize XP disc (7)
EVGA 9800 gtx help with finding a g.. (8)
World's largest Monopoly Game using.. (331)
Recent Discussions
Fire in DVD (1)
Regular Build (0)
Modern Warfare For the PC (33)
radeon x850xt platinum & shader 3 (3)
Have you switched yet? (84)
Install XP pro and a Vista laptop ?? (10)
Wireless Router+Cable Modems and Much.. (0)
Optical Audio A-B Switch (1)
windows vista security holes (9)
The NTDVM CPU has encountered an ille.. (24)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (34)
Wireless speakers for PC? (11)
Print spooler problem (13)
Help getting around port 80 for camer.. (2)
Display shows 3x5 inch in middle of s.. (3)
monitor will not turn on at all, (1)
World's largest Monopoly Game using G.. (331)
Foreign voltage (10)
FiOS modem/router interfering with ne.. (7)
Browsers wont load websites (2)
Virus Doctor Popup? (1)
Dept. of HS: NSA 'Helped' Develop Vis.. (15)
EVGA 9800 gtx help with finding a goo.. (8)
Problem with speed step/turbo boost? (1)
Modern Warfare 2: Who Bought It? (61)


All times are GMT -4. The time now is 01:48 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28