View Single Post
  #5  
Old October 11th 06, 07:08 PM posted to microsoft.public.outlook.program_forms
Michelle W@
external usenet poster
 
Posts: 11
Default Automatic Email From Custom Contact Form

thanks so much!!!!

"Sue Mosher [MVP-Outlook]" wrote:

The basics would be:

Function Item_Write()
Set newItem = Application.CreateItem(0)
With newItem
.To = "
.Subject = "New contact"
.Body = "There is a new contact."
.Send
End With
End Function

Embellish to your heart's content.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Michelle W@" wrote in message ...
How do I go about doing that? Do you have a tutorial for it

"Sue Mosher [MVP-Outlook]" wrote:

You could put code in the form's Item_Write event handler to generate such a message.

"Michelle W@" wrote in message news I am building a custom contact form for my companies client database and what
I would like to have if possible is when the sales person initiates the
client contact form and saves it to a public folder an email would be
generated to me alerting me that a new contact has been filled out. Is this
possible?


Ads