Sets or returns a String representing the e-mail address to use when processing Web form data. Read/write.
expression.EmailAddress
expression Required. An expression that returns a WebCommandButton object.
This example sets Microsoft Publisher to process data on the Web form in the current publication by sending an e-mail message to a specified e-mail address.
Sub WebFormData()
With ThisDocument.Pages(1).Shapes(1).WebCommandButton
.DataRetrievalMethod = pbSubmitDataRetrievalEmail
.EmailAddress = "someone@microsoft.com"
.EmailSubject = "Web form data"
End With
End Sub