Preview pane with forms

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
 
S

Sue Mosher [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top