TCP Socket + Email problem

Hi all,

I have a problem.

What I do in my openAT is open a Scoket permanently and then try to send a Email using SMTP and GPRS.

But when I send the Email; the functions
ed_EmailSetConfig(&Params.email)
ed_SendMail(1, ResponseCbk);

Both return 0 meaning that request is accepted. But “ResponseCbkScanner” handler is not called at all the confirmation is not received for the Email send.

What could be the problem.

Thanks in advance
-Jiten

Hi Jiten,
Which version of Open-AT and eDlib are you using? As far as I know in Open-AT version 3.01, you cannot open a TCP socket and send e-mail. Calling ed_SendMail () function should give error -13 (ED_ERR_STACK_BUSY) or -61 (ED_ERR_SERVICE_ALREADY_RUNNING)?

Best Regards,
OpenAT_Fan.

Hello OpenAT_Fan,

Thanks for the info. YES I am using v3.01 for OpenAT and you might be right.
I will check with other versions also.

regards,
jiten

Hi Jiten,
Which version of Open-AT and eDlib are you using? As far as I know in Open-AT version 3.01, you cannot open a TCP socket and send e-mail. Calling ed_SendMail () function should give error -13 (ED_ERR_STACK_BUSY) or -61 (ED_ERR_SERVICE_ALREADY_RUNNING)?

Best Regards,
OpenAT_Fan.