A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

outlook by command line or batch file.



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 9th 09, 11:47 PM posted to microsoft.public.outlook
Mary
external usenet poster
 
Posts: 328
Default outlook by command line or batch file.


Hi, I am trying to write a batch file to send email after an event happens.
I am using this command line to send mail, this command only opens a new
message with subject and body, but I have to manually press send.

how do I make it to actually **send ** mail, through a batch file.

the batch file runs some tasks and suppose to send notification email
afterward,

Please help. thanks.

this is the command that does not work, and only opens a message:
"C:\Program Files (x86)\Microsoft Office\OFFICE11\OUTLOOK.EXE" /c ipm.note
/m &subject=test"

Ads
  #2  
Old June 10th 09, 09:25 AM posted to microsoft.public.outlook
Roady [MVP]
external usenet poster
 
Posts: 2,620
Default outlook by command line or batch file.

You'd have to create a custom form with some additional code for that so it
can send itself.
See http://www.outlookcode.com/d/forms/skedrpt.htm

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

http://www.msoutlook.info/
Real World Questions, Real World Answers

-----

"Mary" wrote in message
news

Hi, I am trying to write a batch file to send email after an event
happens.
I am using this command line to send mail, this command only opens a new
message with subject and body, but I have to manually press send.

how do I make it to actually **send ** mail, through a batch file.

the batch file runs some tasks and suppose to send notification email
afterward,

Please help. thanks.

this is the command that does not work, and only opens a message:
"C:\Program Files (x86)\Microsoft Office\OFFICE11\OUTLOOK.EXE" /c ipm.note
/m &subject=test"

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to batch edit subject line of outlook emails Peter Walker Outlook and VBA 2 December 31st 06 02:02 AM
Auto-Send a premade .OFT file from Command Line Brandon_Thinkpad Outlook - General Queries 4 October 30th 06 11:09 PM
Outlook and command line Xhork Outlook - Installation 4 June 13th 06 01:23 PM
Outlook Shutdown - command line Pete Outlook - Installation 1 February 7th 06 09:28 PM
Outlook command-line switches Brad Nowlin Outlook - General Queries 1 January 27th 06 06:00 PM


All times are GMT +1. The time now is 08:13 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.