Email

email.name_address

Abbreviationem n
Accessget/set

Description

The email name and/or address registered with the SMTP server, used by command API smtp_send command. This is shown as the name and/or email address of the email sender. It may be overridden by the SMTP server.

The name and/or email address is supplied in the standard format for Internet Address Specifications. For further information see Section 3.4, RFC-2822.

The following get example shows an address only format, and the set example shows an example of a name and address.

See SMTP Client.

For a demonstration, see the Sending a Secure SMTP Email application note.

Arguments

<name_address> in either of the forms:

Default

None

Properties

Supported Platforms

Get example

> get email.name_address
no.name@example.com

Set example

> set em n "Firstname Lastname <first.last@mydomain.com>"
Set OK
> get em n
Firstname Lastname <first.last@mydomain.com>

email.smtp.host

Abbreviationem s h
Accessget/set

Description

The SMTP server host (e.g. smtp.myemail.com) used by command API smtp_send command.

See SMTP Client.

Arguments

<host string>

Default

None

Properties

Supported Platforms

Get example

> get email.smtp.host
smtp.example.com

Set example

> set em s h smtp.myemail.com
Set OK

email.smtp.password

Abbreviationem s w
Accessget/set

Description

The SMTP server login password used by command API smtp_send command.

See SMTP Client.

Arguments

<password>

Default

None

Properties

Supported Platforms

Get example

> get email.smtp.password
abc123

Set example

> set em s w loooong_SECR3T_password
Set OK

email.smtp.port

Abbreviationem s p
Accessget/set

Description

The SMTP server port used by command API smtp_send command.

See SMTP Client.

Arguments

<port_number> Range: 1 - 65535

Default

587

Properties

Supported Platforms

Get example

> get email.smtp.port
25

Set example

> set em s p 587
Set OK

email.smtp.username

Abbreviationem s u
Accessget/set

Description

The SMTP server login username used by the smtp_send command. This is optional depending on the SMTP host: email.smtp.host.

See SMTP Client.

Arguments

<user_name>

Default

None

Properties

Supported Platforms

Get example

> get email.smtp.username
No Name

Set example

> set email.smtp.user "Firstname Lastname"
Set OK
> get em s u
Firstname Lastname