SMTP using uIP on AVR

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have a little webserver running on an ATmega32 and I'd really like to be able to send email when there are fault conditions.

But, I am having some difficulties in getting the SMTP example in uIP to compile.

I have the latest download of uip 1.0 and there appears to differences between smtp.c and smtp.h that cause errors. For example, struct smtp_state appear to missing several members (pSock, inputbuffer, cc, and connected). Also, some function prototypes appear different in the two files.

Has someone got some corrected/ working smtp.c and smtp.h files that they are willing to share?