Create a send button with hard-coded email address?

D

Dave

Hi,

I'm trying to drop a button on the Read Page of a custom form that will Send
the response to a hard-coded email address where we want all responses to go.


Can you do this without writing script behind the form?

Also, it would be ideal to close the custom form afterwards as normal
Outlook message.

Thanks, Dave
 
R

Rich Pieri

I would like to do something similer where could I find
an example of the code to do this or could you post an
example of the code for this.
 
E

Eric Legault [MVP - Outlook]

The code is very similar. You'll have to add a CommandButton, and then
manually call the Forward method. Then just address it to the address of
your Public Folder.

Sub CommandButton1_Click()
Item.Forward
End Sub

Function Item_Forward(ByVal ForwardItem)
ForwardItem.Recipients.Add("(e-mail address removed)")
ForwardItem.Display
End Function
 

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