There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 boot bsod computer cpu crash css dell desktop driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware help please hijackthis hjt hjt log install internet internet explorer itunes javascript keyboard lan laptop log malware monitor network networking outlook outlook 2003 outlook express password php popups problem router seo slow sound sp3 spyware startup trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless youtube
DOS/PDA/Other
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > DOS/PDA/Other >
Microsoft Outlook Batch send email


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
Reconsniper1's Avatar
Junior Member with 10 posts.
 
Join Date: Apr 2008
19-Apr-2008, 11:04 AM #1
Cool Microsoft Outlook Batch send email
Hello! I just am falling in love with the functionality of a batch file. You can just keep expanding it to more and more things for you with the click of one button.

So the newest thing is. I want to have outlook send a .rar file to someone each time that batch file is ran.

This is what I currently have.

"C:\Program Files\Microsoft Office\Office11\Outlook.exe" /c ipm.note /m "test@test.net" /a "c:\test.rar"

I can't get it to work. I can get it to work with the /c and /m switches but not when I include the /a switch and I can get the /a switch if I don't include the /c and /m switch.

If /m switch adds the email address and /c tells it what thing to use, why wouldn't I be able to include the attachment switch /a with it to include that file. Doesn't make sense. I keep getting "Cannot start Microsoft Outlook. The command line argument is not valid. Verify the switch you are using." So it not possible to do this? Anyone attempt this?

Thanks,
T
TheOutcaste's Avatar
Computer Specs
Senior Member with 1,538 posts.
 
Join Date: Aug 2007
Location: Oregon, USA
Experience: Intermediate
21-Apr-2008, 11:33 AM #2
I suspect that that combination is not allowed for security reasons. If it was, it would be way too easy for malware/virii to autocreate emails and send them with themselves attached via outlook.

Jerry
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 05:45 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.