Fortinet black logo

CLI Reference

config system alert-email

config system alert-email

Use this command to configure email alert objects.

Syntax

config system alert-email

edit "email_name"

set from <string_email_format>

set to <string_email_format>

set subject <string>

set body <string>

next

end

email_name

The name of an email alert object.

from

The sender's email address, e.g., fortiadc_send@fortinet.com.

to

The recipient's email address, e.g., receiver@fortinet.com.

subject

The subject of the email.

body

The body of the email.

Example

config system alert-syslog

edit "1"

set server 10.0.11.16

set port 514

next

end

config system alert-email

edit "email1"

set from fortiadc_send@fortinet.com

set to receiver@fortinet.com

next

end

config system alert-email

config system alert-email

Use this command to configure email alert objects.

Syntax

config system alert-email

edit "email_name"

set from <string_email_format>

set to <string_email_format>

set subject <string>

set body <string>

next

end

email_name

The name of an email alert object.

from

The sender's email address, e.g., fortiadc_send@fortinet.com.

to

The recipient's email address, e.g., receiver@fortinet.com.

subject

The subject of the email.

body

The body of the email.

Example

config system alert-syslog

edit "1"

set server 10.0.11.16

set port 514

next

end

config system alert-email

edit "email1"

set from fortiadc_send@fortinet.com

set to receiver@fortinet.com

next

end