2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-13 04:14:09 +02:00
|
|
|
|
|
|
|
config EXAMPLES_SENDMAIL
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Sendmail example"
|
2012-04-13 04:14:09 +02:00
|
|
|
default n
|
2020-01-24 22:25:32 +01:00
|
|
|
depends on NET_IPv4
|
|
|
|
depends on NET_TCP
|
|
|
|
select NETUTILS_SMTP
|
2012-04-13 04:14:09 +02:00
|
|
|
---help---
|
|
|
|
Enable the sendmail example
|
|
|
|
|
|
|
|
if EXAMPLES_SENDMAIL
|
2020-01-24 22:25:32 +01:00
|
|
|
|
|
|
|
config EXAMPLES_SENDMAIL_NOMAC
|
|
|
|
bool "Use Canned MAC Address"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If the hardware has no MAC address of its own, define this =y to
|
|
|
|
provide a bogus address for testing.
|
|
|
|
|
|
|
|
config EXAMPLES_SENDMAIL_IPADDR
|
|
|
|
hex "Target IP address"
|
|
|
|
default 0x0a000002
|
|
|
|
---help---
|
|
|
|
The target IP address. Default 10.0.0.2 (0x0a000002)
|
|
|
|
|
|
|
|
config EXAMPLES_SENDMAIL_DRIPADDR
|
|
|
|
hex "Default Router IP address (Gateway)"
|
|
|
|
default 0x0a000001
|
|
|
|
---help---
|
|
|
|
The default router address. Default 10.0.0.1 (0x0a000001)
|
|
|
|
|
2020-01-26 00:21:13 +01:00
|
|
|
config EXAMPLES_SENDMAIL_SERVERADDR
|
|
|
|
hex "SMTP Server address"
|
|
|
|
default 0x0a000003
|
|
|
|
---help---
|
|
|
|
The SMTP Server address. Default 10.0.0.3 (0x0a000003)
|
|
|
|
|
2020-01-24 22:25:32 +01:00
|
|
|
config EXAMPLES_SENDMAIL_NETMASK
|
|
|
|
hex "Network Mask"
|
|
|
|
default 0xffffff00
|
|
|
|
---help---
|
|
|
|
The network mask. Default: 255.255.255.0 (0xffffff00)
|
|
|
|
|
2020-01-26 00:21:13 +01:00
|
|
|
config EXAMPLES_SENDMAIL_PORT
|
|
|
|
int "Server Port"
|
|
|
|
default 25
|
|
|
|
---help---
|
|
|
|
The SMTP server's port. Default 25.
|
|
|
|
|
2020-01-24 22:25:32 +01:00
|
|
|
config EXAMPLES_SENDMAIL_RECIPIENT
|
|
|
|
string "Recipient email"
|
|
|
|
default "Jane Doe <jane.doe@janedoemail.com>"
|
|
|
|
|
|
|
|
config EXAMPLES_SENDMAIL_SENDER
|
|
|
|
string "Sender email"
|
|
|
|
default "John Doe <john.doe@johndoemail.com>"
|
|
|
|
|
|
|
|
config EXAMPLES_SENDMAIL_SUBJECT
|
|
|
|
string "Subject"
|
|
|
|
default "Test"
|
|
|
|
|
|
|
|
config EXAMPLES_SENDMAIL_BODY
|
|
|
|
string "Mail Body"
|
|
|
|
default "This is a test"
|
|
|
|
|
2012-04-13 04:14:09 +02:00
|
|
|
endif
|