Smtp client creat using q2687rd Gsm module

hi sir …

when i writing the code for email sending through GSM module with
ch1= wip_SMTPClientCreateOpts( aIP,(wip_eventHandler_f) smtp_ClientTestCnxHandler, NULL,
WIP_COPT_PEER_PORT, “36117”,
WIP_COPT_USER, “nagaraju.m”,
WIP_COPT_PASSWORD, “adyabest”,
WIP_COPT_SMTP_AUTH_TYPE, WIP_SMTP_AUTH_NONE | WIP_SMTP_AUTH_CLEAR,
WIP_COPT_END);

this part of code for creating the SMTP session.

this API returns the success parameter but can’t enter into the “smtp_ClientTestCnxHandler” handler function .

please help me out this problem.

thanking u in advance …

Can you please review the server and port number configured?

For example “WIP_COPT_PEER_PORT” should be u32 but you configured:
WIP_COPT_PEER_PORT, “36117”

Still, handler should be called on both success and failure case, have you take into account the wip_event_t with WIP_CEV_ERROR?

Can you test based on SMTP sample code or WIPSoft?
Also, which OAT Framework version you based on?
Thanks