V
vinod
Hi,
I posted the below question in the MSDN forum and got a reply back but was
asked to use this forum. So I'm copy pasting everything to here.
My question:
Can anyone please direct me to where I can get information on commands I
would have to use from the command prompt to open up an outlook email with
some of the fields filled in like the To field, body of the message(with a
predefined template) and so on. I need to launch an Outlook email from java
and after searching the internet for a while I was suggested that I consult
the MSDN forum and I was also told that once I have the command to do
whatever I want to from the command prompt, I can do the same command in java.
Reply back:
You can look up command-line switches in Outlook Help by searching for
"command-line switches." However, unless by "template" you mean a published
Outlook custom form, what you want to do isn't possible from the command
line. Depending on the details and the size of the message body, it might be
possible by using a mailto command. Otherwise, you would need to use the
Outlook object model to automate the creation and display of the message.
FYI, this is not a general Office programming forum. It is for issues
related to Visual Studio Tools for Office. General Outlook programming
questions can be posted at
http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.outlook.program_vba
So does anyone have any suggestions for me. I did look into the mailto
command. But since our application is a lot dynamic I don't think I would be
able to use it unless I keep changing the mailto link everytime soemthing
else changes. I also looked into the command-line switches. Unfortunately I
don't really understand all of the switches and have only reached until the
part where I can use /c ipm.note and /m emailname to create a new email
destined to someone in the To field. All that's left is Subject and Body. Are
there switches to include these.
Please help and thanks in advance for your help.
I posted the below question in the MSDN forum and got a reply back but was
asked to use this forum. So I'm copy pasting everything to here.
My question:
Can anyone please direct me to where I can get information on commands I
would have to use from the command prompt to open up an outlook email with
some of the fields filled in like the To field, body of the message(with a
predefined template) and so on. I need to launch an Outlook email from java
and after searching the internet for a while I was suggested that I consult
the MSDN forum and I was also told that once I have the command to do
whatever I want to from the command prompt, I can do the same command in java.
Reply back:
You can look up command-line switches in Outlook Help by searching for
"command-line switches." However, unless by "template" you mean a published
Outlook custom form, what you want to do isn't possible from the command
line. Depending on the details and the size of the message body, it might be
possible by using a mailto command. Otherwise, you would need to use the
Outlook object model to automate the creation and display of the message.
FYI, this is not a general Office programming forum. It is for issues
related to Visual Studio Tools for Office. General Outlook programming
questions can be posted at
http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.outlook.program_vba
So does anyone have any suggestions for me. I did look into the mailto
command. But since our application is a lot dynamic I don't think I would be
able to use it unless I keep changing the mailto link everytime soemthing
else changes. I also looked into the command-line switches. Unfortunately I
don't really understand all of the switches and have only reached until the
part where I can use /c ipm.note and /m emailname to create a new email
destined to someone in the To field. All that's left is Subject and Body. Are
there switches to include these.
Please help and thanks in advance for your help.