If you think about to upload image file from mobile.What do you do? useually, web application is use form which has input type "file".but mobile(Japanese mobile only?) can not use it. So to need another way.Many web apps adopts mailto and insert add,subject and body beforehand into pages.If user clicks A tag that it includes mailto, automatically mailer is started already insert add,subject and body.When mailer has started user can attachment image file like to send mail usually that send to another mobile.After user had sent mail, Server side program would something to do what you want to.
Example insert into database or rename,will display file which was uploaded.
Because, I was hard to arranges. Each career to move similarly sending mail.
//ソフトバンク $sub = urlencode("件名"); $bo = urlencode("本文"); //PC docomo au $p_sub = urlencode(mb_convert_encoding('件名', 'sjis','UTF-8')); $p_bo = urlencode(mb_convert_encoding('本文', 'sjis','UTF-8')); echo("<a href=\"mailto:email@example.com?Subject=".$sub."&Body=".$bo."\">ソフトバンク</A>"); echo("<br>"); echo("<a href=\"mailto:firstname.lastname@example.org?Subject=".$p_sub."&Body=".$p_bo."\">ドコモ au</A>"); echo("<br>"); echo("<a href=\"mailto:email@example.com?Subject=".$p_sub."&Body=".$p_bo."\">PCメール</A>");
This is code send mail from career.