Add examples/sendmail
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1663 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
67032c211e
commit
32d0e10483
|
@ -230,6 +230,25 @@ examples/romfs
|
|||
* CONFIG_EXAMPLES_ROMFS_MOUNTPOINT
|
||||
The location to mount the ROM disk. Deafault: "/usr/local/share"
|
||||
|
||||
examples/sendmail
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
This examples exercises the uIP SMTP logic by sending a test message
|
||||
to a selected recipient.
|
||||
|
||||
NOTE 1: This test is not integrated into NuttX as of this writing,
|
||||
it can only be built to execute of the Cygwin/Linux host for unit-
|
||||
testing of the logic.
|
||||
|
||||
cd examples/sendmail
|
||||
make -f Makefile.host
|
||||
|
||||
NOTE 2: This sendmail example only works for the simplest of
|
||||
environments. Virus protection software on your host may have
|
||||
to be disabled to allow you to send messages. Only very open,
|
||||
unprotected recipients can be used. Most will protect themselves
|
||||
from this test email because it looks like SPAM.
|
||||
|
||||
examples/serloop
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/****************************************************************************
|
||||
/* smtp.h
|
||||
* smtp.h
|
||||
* SMTP header file
|
||||
*
|
||||
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
*
|
||||
* Heavily leveraged from uIP 1.0 which also has a BSD-like license:
|
||||
|
@ -47,6 +47,7 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
#include <net/uip/uipopt.h>
|
||||
#include <net/uip/uip.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Type Definitions
|
||||
|
|
Loading…
Reference in New Issue