I have a canvas which user can interact to make changes to design. Now after the user is done with his changes he can submit his design along with his email ID. But to submit the design i am converting the canvas to an image using http://www.nihilogic.dk/labs/canvas2image/
Now i want to send this image along with user’s email ID. How can i send this image directly without letting user save it on his local system.
I picked up the
mail_attachment() function here.