Preview pane with forms

  • Thread starter Thread starter DJHinett
  • Start date Start date
D

DJHinett

Hi,

I understand that you can not see forms in the preview pane, but is
what i would like to do is for someone to fill a form in and then when
they click send, it gets the details off the form and creates a load of
text, which is then sent as an e-mail instead of sending the form.

Hope you understand what i mean, thanks!
Paul Hinett

www.datingdirect.com
www.netklix.com
 
Just put the code to create the message in the Item_Send event handler for
the custom form:

Function Item_Send()
Set objMsg = Application.CreateItem(0)
' your code to create the message text goes here
strText = whatever
With objMsg
.Subject = "something"
.Body = strText '(or better yet HTMLBody)
.Display or
'.Send
End With
End Function
 
Back
Top