User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Windows NT / 2000 / XP / 2003 section within the Tech Talk category of DaniWeb, a massive community of 402,414 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,051 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Windows NT / 2000 / XP / 2003 advertiser: Programming Forums
Views: 18167 | Replies: 11
Reply
Join Date: Mar 2004
Posts: 54
Reputation: Khiladi420 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
Khiladi420 Khiladi420 is offline Offline
Junior Poster in Training

Batch file to send email!!

  #1  
Dec 13th, 2005
Does anyone know how to create a batch file that will send email through outlook express without using 3rd party programs??
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2005
Location: Oklahoma
Posts: 902
Reputation: chrisbliss18 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 21
chrisbliss18's Avatar
chrisbliss18 chrisbliss18 is offline Offline
Posting Shark

Re: Batch file to send email!!

  #2  
Dec 13th, 2005
Outlook Express doesn't open up this ability without the use of a third-party tool.

What are you trying to do and why can't you use a third-party tool to do it?
Did we help you? Did we miss the point entirely? Update your thread and let us know.
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
Reply With Quote  
Join Date: Mar 2004
Posts: 54
Reputation: Khiladi420 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
Khiladi420 Khiladi420 is offline Offline
Junior Poster in Training

Re: Batch file to send email!!

  #3  
Dec 14th, 2005
I prefer not using third party tools, but if this can be done in VBS using CDO instead that would be better. Using that program you suggested that monitors the CPU temp i want to enable it to auto send an email when the CPU overheats & using VBS CDO would be perfect. Any solutions on how to do this would be great.
Reply With Quote  
Join Date: Jul 2005
Location: FL.
Posts: 1,536
Reputation: tayspen is on a distinguished road 
Rep Power: 7
Solved Threads: 98
Colleague
tayspen's Avatar
tayspen tayspen is offline Offline
<Insert title here>

Re: Batch file to send email!!

  #4  
Dec 14th, 2005
Maybe somthing like this

http://www.paulsadowski.com/WSH/cmdmail.htm

-T
Firefox
Ewido
Tune up windows
Get detailed system information
My Fixes

Member - Alliance of Security Analysis Professionals - Since 2006
Reply With Quote  
Join Date: Mar 2004
Posts: 54
Reputation: Khiladi420 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
Khiladi420 Khiladi420 is offline Offline
Junior Poster in Training

Re: Batch file to send email!!

  #5  
Dec 14th, 2005
Thanks that works perfect on a server!! is there a way to do the same on a workstation in VBS or batch?
Reply With Quote  
Join Date: Aug 2005
Location: Oklahoma
Posts: 902
Reputation: chrisbliss18 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 21
chrisbliss18's Avatar
chrisbliss18 chrisbliss18 is offline Offline
Posting Shark

Re: Batch file to send email!!

  #6  
Dec 14th, 2005
You need something to initiate a SMTP connection in order to send mail. The only versions of Windows that have this ability built-in are Professional or Server versions.

There's some good news though. There are many places to get programs that can send SMTP mail. I recommend using Blat. It's free, easy to configure, and easy to use.
Did we help you? Did we miss the point entirely? Update your thread and let us know.
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
Reply With Quote  
Join Date: Jul 2005
Location: FL.
Posts: 1,536
Reputation: tayspen is on a distinguished road 
Rep Power: 7
Solved Threads: 98
Colleague
tayspen's Avatar
tayspen tayspen is offline Offline
<Insert title here>

Re: Batch file to send email!!

  #7  
Dec 14th, 2005
Originally Posted by Khiladi420
Thanks that works perfect on a server!! is there a way to do the same on a workstation in VBS or batch?
You welcome glad you got it working...at least on a server

and this may help further

http://www.experts-exchange.com/Prog..._20431995.html

-T
Firefox
Ewido
Tune up windows
Get detailed system information
My Fixes

Member - Alliance of Security Analysis Professionals - Since 2006
Reply With Quote  
Join Date: Mar 2004
Posts: 54
Reputation: Khiladi420 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
Khiladi420 Khiladi420 is offline Offline
Junior Poster in Training

Re: Batch file to send email!!

  #8  
Dec 17th, 2005
Thanks for that link but unfortunately the code doesnt work.
Reply With Quote  
Join Date: Jul 2005
Location: FL.
Posts: 1,536
Reputation: tayspen is on a distinguished road 
Rep Power: 7
Solved Threads: 98
Colleague
tayspen's Avatar
tayspen tayspen is offline Offline
<Insert title here>

Re: Batch file to send email!!

  #9  
Dec 17th, 2005
Hm are you getting error. What are they?

-T
Firefox
Ewido
Tune up windows
Get detailed system information
My Fixes

Member - Alliance of Security Analysis Professionals - Since 2006
Reply With Quote  
Join Date: Mar 2004
Posts: 54
Reputation: Khiladi420 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
Khiladi420 Khiladi420 is offline Offline
Junior Poster in Training

Re: Batch file to send email!!

  #10  
Dec 18th, 2005
the error is:-

Line: 1
Char: 17
Error: Expected '='
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Windows NT / 2000 / XP / 2003 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Windows NT / 2000 / XP / 2003 Forum

All times are GMT -4. The time now is 2:08 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC