Discussion Forum

SMTP Demo\TCPNet (STR9)

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
John McLane
Posted
20-Nov-2009 13:56 GMT
Toolset
ARM
New! SMTP Demo\TCPNet (STR9)

Hi,

Has anybody else successfuly ran the SMTP demo on the STR9 demo board?

I've attempted to send a mail via the development board but don't get any results.

The demo never breaks at a specified debug point at the start of the following function:

U16 smtp_cbfunc (U8 code, U8 *buf, U16 buflen, U32 *pvar

However debug does break in the following function:

static void smtp_cback (U8 code)

This function suggests success by returning:

SMTP_EVT_SUCCESS

However no mail is sent via the program.

Unfortunately there are no other posts in the forum to aid further investigation. I have used telnet to connect to our SMTP server and manually sent an email to prove that there is not a problem establishing a connection with the SMTP server.

Any help would be gratefully aprreciated.

Thanks

John

Read-Only
Author
Franc Urbanc
Posted
24-Nov-2009 10:20 GMT
Toolset
ARM
New! RE: SMTP Demo\TCPNet (STR9)

Use a debug version and watch the printed messages on COM2 serial port. Enable the Application Debug to Full debug. This will activate printing of all debug messages from SMTP Client.

Read-Only
Author
John McLane
Posted
24-Nov-2009 10:25 GMT
Toolset
ARM
New! RE: SMTP Demo\TCPNet (STR9)

Thanks Franc,

I've done this already and reported the messages to Keil support. I've now been advised to run 'wireshark' to analyse the full transmission.

I will report any conclusion/resolution here.

John

Next Thread | Thread List | Previous Thread Start a Thread | Settings