Other permissible formats of this command are – Boltek Lightning/2000 User Manual

Page 266

Advertising
background image

L I G H T N I N G / 2 0 0 0

266

266

266

266

; send an email

if

if

if

if ( @StrongFlashCount( 5 ) > 0 ) and

and

and

and

( @MinutesSinceEmailSent >= 30 ) then

then

then

then

#SendEmail

Other permissible formats of this command are:

#SendEmail( ‘recipients’ )

#SendEmail( ‘recipients’, ‘email title’ )

#SendEmail( ‘recipients’, ‘email title’, ‘attachment’,
…, ‘attachment’ )

This form of the command is used to send an email to
a specific recipient, rather than the recipients listed in
the Email Options dialog.

Recipients is a string specifying one or more email
addresses. If multiple addresses are listed, they
should be separated by commas. For example:

#SendEmail( ‘[email protected],[email protected]’ ).

If no title is specified, a title will be generated telling
how many flashes per minute are currently being
detected.

In the expanded form of this command, an attachment
may be one of three things: (1) a string representing
one of the standard email body text types (‘Custom
Summary’, ‘Status Line’, ‘Nowcast’, or ‘Summary’), (2)
the name of an image file to attach to the email or, (3)
the name of a text file (one whose extension is ‘.txt’).

If one or more text files are specified as attachments,
the contents of those files will be used as the body of
the email and not actually “attached” to the email. For
example, you could create a single-line text file to
send as a text message to one or more recipients.

Advertising