hello, i am working on capturing image with beaglebone black and sending it via

hello, i am working on capturing image with beaglebone black and sending it via email to my friend email. how can i proceed for it. which language i should choose so i can do my task easily and efficiently
i have currently Angstrom version in my Beaglebone black .
thanks

what is your favorite programming language?

@Jezra i know only c and c++, but i can learn other also if with them my work will be easily

Just about any language should work for your needs. I would suggest checking the Angstrom repos for fswebcam (a very handy webcam capturing tool), and then writing a simple script that uses fswebcam to capture an image and then use ‘mail’ to send the image.