How to send files as attachment by mail?

I wanted to select all the types of files(pdf, docx, ppt, etc.) from my mobile as an attachment and mail it using app as the frontend and php as backend.

php will not run on AppInventor 2


These are my blocks. I just want to select a file as an attachment and mail it.

Different eMail solutions for App Inventor


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.