Hi Sunil,
Hope you have passed the file size to the FM properly.
Refer to the following link for required calculation.
http://wiki.scn.sap.com/wiki/display/ABAP/Send+External+Mail+with+attachment
Refer to line numbers 146 to 149.
Thanks and Regards,
Sriranjani Chimakurthy.