You should start a new thread for this question.
Anyway have a look at this module:
http://www.basic4ppc.com/forum/code-...plication.html (requires a library which is only available to licensed users).
Sending the image can be done with the Network library.