The attached script is already capable of transmitting the end result .pdf to an address which was specified within the PDF being submitted to the URL by specifying the PDF Form field name that contains the address:
Private MSG_TO As String = “”
Private MSG_TO_FIELD As String = “ALREADY_DYNAMIC”
and then has the following code to decide which is used:
IF MSG_TO_FIELD.Length > 0 then
MSG_TO = cFDFDoc.FDFGetValue(MSG_TO_FIELD) & “”
END IF
Else
cFDFDoc = cF…
