Email

email.name_address

Abbreviation

em n

Access

get/set

Description

The email name and/or address registered with the SMTP server, used by command API smtp_send command; native API group SMTP API . 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

Platforms

Properties

Gecko OS Plugin

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

Abbreviation

em s h

Access

get/set

Description

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

See SMTP Client .

Arguments

<host string>

Default

None

Platforms

Properties

Gecko OS Plugin

Get example

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

Set example

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

email.smtp.password

Abbreviation

em s w

Access

get/set

Description

The SMTP server login password used by command API smtp_send command; native API group SMTP API .

See SMTP Client .

Arguments

<password>

Default

None

Platforms

Properties

Gecko OS Plugin

Get example

> get email.smtp.password
abc123

Set example

> set em s w loooong_SECR3T_password
Set OK

email.smtp.port

Abbreviation

em s p

Access

get/set

Description

The SMTP server port used by command API smtp_send command; native API group SMTP API .

See SMTP Client .

Arguments

<port_number>

Range: 1 - 65535

Default

587

Platforms

Properties

Gecko OS Plugin

Get example

> get email.smtp.port
25

Set example

> set em s p 587
Set OK

email.smtp.username

Abbreviation

em s u

Access

get/set

Description

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

See SMTP Client .

Arguments

<user_name>

Default

None

Platforms

Properties

Gecko OS Plugin

Get example

> get email.smtp.username
No Name

Set example

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