Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<mc-system-alerter xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/mcSystemAlerter.xsd">
    <alerts>
        <emailalert>
            <recipients>
                <recipient email="Some.body@somewhere.org"/>
				<recipient email="%FEWS_MC_SYSTEM_ALERTER_RECIPIENTS%"/>
             </recipients>
            <configuration>
                 <!-- requires OS System Environment Property FEWS_MCSYSTEMALERTER_PASSWORD to be present. --> 
                <smtp tls="true" fromaddress="Some.body@somewhere.org" host="smtp.mailhost.nl" user="fewsuser" passwordEnvironmentVariableKey="FEWS_MCSYSTEMALERTER_PASSWORD"/>
            </configuration>
            <subject>
                <subjectline content="The subject line of the email to send"/>
                <substitutions/>
            </subject>
            <body value="%LOG%"/>
            <attachments/>
        </emailalert>
    </alerts>
</mc-system-alerter>

...