Also is there a way to program in the VB Script to note which contact the
addition is for within the email message so they know which one is new?
"Michelle W@" wrote:
Is there a way to put in the script so it only sends an email when the item
is created? Right now it is sending an email after any updating that is done
to the record... Thanks!
"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?