Administration Guide

-send_email

-send_email

 

25

You can use the -send_email parameter to send an email message to a BlackBerry® device.

Syntax: -send_email

-send_email : send email message to user or group -u <user name> : user name

[-b <instance>] : instance name of the BlackBerry Enterprise Server component

[-utype <type>] : user type - display_name, email_address, login_name, canonical_name

or

-g <group name> : group name

-subject <value> : 'Subject' value [-body <value>] : 'Body' value

or

-infofile <filename> : format is: [Subject=<value>] {[[Body=]<value>]}

Subparameters: -send_email

 

 

 

 

Subparameter

Description

 

 

-b <instance>

This subparameter specifies the BlackBerry® Enterprise Server instance for the action.

 

You use the name of the BlackBerry Enterprise Server instance that appears in the

 

BlackBerry Administration Service.

-body <body_text>

This subparameter specifies the body of the email message.

-g <group_name>

This subparameter specifies the name of the user group for the action.

 

This subparameter overrides the -u and -b parameters.

-infofile <file_name.txt>

This subparameter specifies the name of the file that contains the text of the message

 

and uses the following format:

 

[Subject=<value>]

 

{[[Body=]<value>]}

-subject <subject>

This subparameter specifies the subject of the email message.

-u <user_name>

This subparameter specifies the user account for the action. Depending on the BlackBerry

 

Enterprise Server environment, the user account uses one of the following formats:

 

for Microsoft® Exchange: mailbox name (for example, smoser@test.rim.net)

 

 

 

71

Page 73
Image 73
Blackberry SWD-504685-0330050601-001 manual Sendemail, Body bodytext, Infofile filename.txt