Attaches last picture taken by the smartphone’s camera in email and sends it.
Note: Folder directory supports to choose whether attaching pictures from OneSheeld folder “which created by the application once you use Camera shield” by passing “0” to the function or Camera folder by passing “1” to the function.(0 by default)
1st Parameter takes string object holding recipient’s email address.
2nd Parameter takes string object holding email’s subject.
3rd Parameter takes string object holding email’s body.
4th Parameter takes a byte holding the number to upload picture from OneSheeld folder “0” or Camera folder”1″.
String email = “[email protected]”;
String subject = “subjectDataHere”;
String body = “bodyDataHere”;