I am creating a remote senor that will use Email to send the data. All data is stored in separate CSV files on a microSD card. I am using the Telit LE910C1-AP as my cell module with a spark fun xbee to serial breakout board.
Is there anyway that I can take the entire file from the SD card and attach it to the email before sending? Or will I have to read all the data out of the files and the put it in the body of the email?
There is no operating system on your arduino (which one?) to read the bits for you.... You'll have to do it if there is no library function doing so already
Hi, I am using Arduino Due
Or will I have to read all the data out of the files and the put it in the body of the email?
You will have to read all the data from the SD card into RAM, either entirely or in packets, but where you add it to the email is entirely up to you. Modern "spam" filters may not trust a random Arduino Due as a valid email provider, so you may have to set up exception rules in every receiving inbox.