From 9659f582f869563ac0c473674b76336f041c22fb Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 29 Mar 2009 00:06:14 +0000 Subject: Add logic to build sendmail example on target git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1664 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/examples/README.txt | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'nuttx/examples/README.txt') diff --git a/nuttx/examples/README.txt b/nuttx/examples/README.txt index 0ae8d9d34..faa378bb2 100644 --- a/nuttx/examples/README.txt +++ b/nuttx/examples/README.txt @@ -234,15 +234,26 @@ 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. + to a selected recipient. This test can also be built to execute on + the Cygwin/Linux host environment: cd examples/sendmail make -f Makefile.host + Settings unique to this example include: + + CONFIG_EXAMPLE_SENDMAIL_NOMAC - May be defined to use software assigned MAC (optional) + CONFIG_EXAMPLE_SENDMAIL_IPADDR - Target IP address (required) + CONFIG_EXAMPLE_SENDMAIL_DRIPADDR - Default router IP addess (required) + CONFIG_EXAMPLE_SENDMAILT_NETMASK - Network mask (required) + CONFIG_EXAMPLE_SENDMAIL_RECIPIENT - The recipient of the email (required) + CONFIG_EXAMPLE_SENDMAIL_SENDER - Optional. Default: "nuttx-testing@example.com" + CONFIG_EXAMPLE_SENDMAIL_SUBJECT - Optional. Default: "Testing SMTP from NuttX" + CONFIG_EXAMPLE_SENDMAIL_BODY - Optional. Default: "Test message sent by NuttX" + + NOTE: This test has not been verified on the NuttX target environment. + As of this writing, unit-tested in the Cygwin/Linux host environment. + 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, -- cgit v1.2.3