Sending an Email in App. Cordova? PHP script?


Hi I am trying to send an email in app with Ionic 2. I have a nice form that takes care of validation but I’m not sure where to go from here. I tried using the cordova email plugin but I kept getting a ‘not defined’ error. I have been reading up on the subject and some people say to call an external script such as a php script but I have no clue how I would call a php script within ionic or how I would pass the data from the ionic form into that php script.

Any advice or direction in this area would be much appreciated!