How do send raw data via email


Can someone help me I am trying to send raw data from serial port by email.
All commands are accepted … I get +WIPREADY: 6,1 then all email details are accepted and when I type AT+WIPFILE=6,1,2 instead of CONNECT I get a dry ERROR whatever I do affter that I get ERROR, I have to restart the modem to get up to that level again.
Can someone help, does anyone has done it before? I would be more than greatfull to have the complete set of commands.
With Thanks PT