Hi
Using IP2003 I have added a button with a rule set to 'submit to data connection'. For the same button I have added the following code (VBScript).
Sub Submit_OnClick(eventObj)
Dim myEnvelope
set myEnvelope = Application.ActiveWindow.MailEnvelope
' Specify addresses, subject, and introduction.
myEnvelope.To = "email address"
myEnvelope.CC = "email address"
myEnvelope.BCC = "email address"
myEnvelope.Subject = "Plot request"
myEnvelope.Introduction = "Type text here"
' Include form template with form.
myEnvelope.EmailAttachmentType = EmailAttachmentType.XmlXs
' Display form with e-mail envelope.
myEnvelope.Visible = True
End Sub
This opens Outlook with a preview of the email which you can edit or add additional instructions. There will also be a JScript equivalent of the code.
Gary