You could use the following. You could use field entries, then you have to change the path and the objectname to yours.var Mailto = Formular1.s1.email.rawValue;You could use static textvar Mailto = "test@test.de";It's your choice.if(xfa.host.messageBox("This will be send your PDF.","Information",2,2...