Sending email

  • Thread starter Thread starter Patrick Bonneau
  • Start date Start date
P

Patrick Bonneau

Is there a way to send email via outlook account by
command line without been logged? Im trying to make a
script to check if the servers respond to ping, if not an
email will be send....

Ive got a third party software that would do the job...but
sometime its freeze and the cpu tops at 100%...bmail.exe
 
Is there a way to send email via outlook account by
command line without been logged? Im trying to make a
script to check if the servers respond to ping, if not an
email will be send....

Ive got a third party software that would do the job...but
sometime its freeze and the cpu tops at 100%...bmail.exe


See tip 7959 in the 'Tips & Tricks' at http://www.jsiinc.com

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Patrick Bonneau said:
Is there a way to send email via outlook account by
command line without been logged? Im trying to make a
script to check if the servers respond to ping, if not an
email will be send....

Ive got a third party software that would do the job...but
sometime its freeze and the cpu tops at 100%...bmail.exe

To what do you refer with "been logged", being logged in to the pc or
the logs from outlook?
For the first schedule a batch and use a different program like blat.
Otherwise a wsh solution might help. Search google on that.

HTH
 
Is there a way to send email via outlook account by
command line without been logged? Im trying to make a
script to check if the servers respond to ping, if not an
email will be send....

Ive got a third party software that would do the job...but
sometime its freeze and the cpu tops at 100%...bmail.exe

http://www.blat.net/
 
You can write a simple VB script that would do it if you have outlook
install

Set ol = CreateObject("Outlook.Application")
Set Mail = ol.CreateItem(0)
Mail.Subject = "Test mail"
Mail.Body = "Test mail body"
Mail.to = "youremail"
Mail.Send

copy and paste it into a file sendmail.vbs and then you can call it from a
batch file like so

"cscript sendmail.vbs"
 
Back
Top