PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
Create a send button with hard-coded email address?
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
Create a send button with hard-coded email address?
![]() |
Create a send button with hard-coded email address? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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. >-----Original Message----- >You must use code to send the item to a specific e-mail address, usually by >trapping the Send event and adding the address to the Recipients collection. > >The form should close by default after it is sent, BTW. > >-- >Eric Legault - B.A, MCP, MCSD, Outlook MVP >-------------------------------------------------- >{Private e-mails ignored} >Job: http://www.imaginets.com >Blog: http://blogs.officezealot.com/legault/ > >"Dave" wrote: > >> 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 >. > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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("folder@domain.com") ForwardItem.Display End Function -- Eric Legault - B.A, MCP, MCSD, Outlook MVP -------------------------------------------------- {Private e-mails ignored} Job: http://www.imaginets.com Blog: http://blogs.officezealot.com/legault/ "Richard Pieri" wrote: > > Sorry, > I should have been more specific I want to use the button as an approve > button and have it forward the form to an address of a public folder so > it would need to trigger the forward action and poulate the To: box with > the address I have for the public folder. Is this possible and do you > have some code to do this? Sorry again and Thanks for your help. > > > *** Sent via Developersdex http://www.developersdex.com *** > Don't just participate in USENET...get rewarded for it! > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Thank you very much that will solve my problem
Rich *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

