Default Recipient/E-mail 'Submit' button possible?

J

Jeff

Hi,

I'm working in Exchange 2k3. I'm designing a message form in Outlook 2003
for Outlook XP users.
I'm hoping there is a way to design a 'Submit' button that users of the form
can click to send the message to the default recipient (with me being able to
program the default).
Any help is greatly appreciated. Thanks in advance.
Jeff
 
S

Sue Mosher [MVP-Outlook]

Yes, that's possible if all the recipients are internal and you have permission to publish forms to the Organizational Forms library on the Exchange server.
 
J

Jeff

Hi Sue,

Yes, it's just one, internal address to which I'd like the forms sent. Can
you point me in the right direction? Thanks in advance.
Jeff
 
S

Sue Mosher [MVP-Outlook]

It's not the address of the form's final destination that matters, but the users who will be sending to that address. Are they all internal? And can you publish the form to the Organizational Forms Library? If the answer to both is Yes, the code might look like this, where cmdSubmit is the name of the button:

Sub cmdSubmit_Click()
Item.To = "some address"
Item.Send
End Sub
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 
J

Jeff

Hi Sue,

Forgive me if this is redundant but I didn't see my reply show up on the
thread. Could you point me in the right direction for how to do this?
Thanks in advance.

Jeff
 
S

Sue Mosher [MVP-Outlook]

Sorry, but I'm not sure what you mean by the "this" in how to do this. It's not the address of the form's final destination that matters, but the users who will be sending to that address. Are they all internal? And can you publish the form to the Organizational Forms Library? If the answer to both is Yes, the code might look like this, where cmdSubmit is the name of the button:

Sub cmdSubmit_Click()
Item.To = "some address"
Item.Send
End Sub

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 
J

Jeff

Hi Sue,

Sorry about that repost etc. Yes, all the users are internal and I can
publish to the OFL. What I meant by "this" is exactly what you provided - a
sample for me to work with. I'll work with the code you suggested. Thanks
so much.
Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top