SMTP Connection and Authentication
Assemble needs connection and authentication settings for the sending SMTP messages. These settings are primarily for sending reports as attachments.
Create/Edit SMTP Connection Details
Opening smtp.exe will launch a GUI for filling in and saving SMTP connection details.
Click <Save> after filling in all the connection details. It will save the settings to the specified filename in the same directory as the tool. The password is encrypted using AES-256 encryption and a 100 character key.
[VSP]
vsp=salesdemo.mobileiron.com
username=jsmith
password=0x86DD0705488F2C78D17F19A14AAA460D
[SMTP]
SMTP=smtp.company.com
Port=465
SSL=1
password=0x86DD0705488F2C78D17F19A14AAA460D
Click the “Load” button to choose and edit a previously created SMTP INI file.
NOTE: | The VSP and SMTP settings should be in the same file. |
Examples
Example 1
A company wants to apply the label iOSCameraRestrict during weekday working hours from 8 AM to 5 PM.
Create an Assemble rule with the following settings:
[RuleNum]
numberofrules=1
sleeptime=2000
[Rule1]
NumberofElements=4
Action=applylabel:iOSCameraRestriction
ActionReason=weekday camera disable
Wakeup=yes
SendMessage=no
SendMessageText=
Element1_trigger=time
Element1_description=business hours
Element1_operator=greater than
Element1_source=local
Element1_value=08:00
Element2_elementoperator=AND
Element2_trigger=time
Element2_description=business hours
Element2_operator=less than
Element2_source=local
Element2_value=17:00
Element3_elementoperator=AND
Element3_trigger=day
Element3_description=saturday
Element3_operator=does not equal
Element3_source=local
Element3_value=7
Element4_elementoperator=OR
Element4_trigger=day
Element4_description=sunday
Element4_operator=does not equal
Element4_source=local
Element4_value=1
Example 2
A company wants to apply the label CorporateOwned only to devices owned by the company. These devices are identified by the iOS serial number or Android device ID.
Create an Assemble rule with the following settings.
[RuleNum]
numberofrules=1
sleeptime=2000
[Rule1]
NumberofElements=2
Action=applylabel:CorporateOwned
ActionReason=serial or device id numbermatch
Wakeup=yes
SendMessage=no
SendMessageText=
Element1_trigger=device_id
Element1_description=corporate owned device_id match
Element1_operator=contains
Element1_source=local
Element1_value=6Q046Z5YA4S,DLXFR932DJHG,417a99d4d10d21ec
Element2_elementoperator=OR
Element2_trigger=serialnumber
Element2_description=corporate owned device serial match
Element2_operator=contains
Element2_source=local
Element2_value=6Q046Z5YA4S,DLXFR932DJHG
?
Example 3
A company wants to apply the label WeekdayInBuildingLabel to devices that match the following criteria:
• | Within 100 meters of the building and the location age is no more than 4 hours old. |
• | The hours are between 8 AM and 5 PM. |
• | It is a weekday. |
Create an Assemble rule with the following settings.
[RuleNum]
numberofrules=1
sleeptime=2000
[Rule1]
NumberofElements=5
Action=applylabel:WeekdayInBuildingLabel
ActionReason=less than 100 meters from building
Wakeup=yes
SendMessage=no
SendMessageText=
Element1_trigger=distance
Element1_description=device is too close to the building
Element1_operator=less than
Element1_source=local
Element1_value=37.396926,-122.056625
Element1_distance=100
Element1_distance_maxlocationage=4
Element2_elementoperator=AND
Element2_trigger=time
Element2_description=business hours
Element2_operator=greater than
Element2_source=local
Element2_value=08:00
Element3_elementoperator=AND
Element3_trigger=time
Element3_description=business hours
Element3_operator=less than
Element3_source=local
Element3_value=17:00
Element4_elementoperator=AND
Element4_trigger=day
Element4_description=saturday
Element4_operator=does not equal
Element4_source=local
Element4_value=7
Element5_elementoperator=OR
Element5_trigger=day
Element5_description=sunday
Element5_operator=does not equal
Element5_source=local
Element5_value=1
?
Example 4
Multiple rules can be combined and run one after the other. There is no limited on the number of rules that can be run consecutively.
The previous three rules are combined into one run by adding them all to one rules INI file.
1. | A company wants to apply the label iOSCameraRestrict during weekday working hours from 8 AM to 5 PM. |
2. | A company wants to apply the label CorporateOwned only to devices owned by the company. These devices are identified by the iOS serial number or Android device ID. |
3. | A company wants to apply the label WeekdayInBuildingLabel to devices that match the following criteria: |
- | Within 100 meters of the building and the location age is no more than 4 hours old. |
- | The hours are between 8 AM and 5 PM. |
- | It is a weekday. |
[RuleNum]
numberofrules=1
sleeptime=2000
[Rule1]
NumberofElements=4
Action=applylabel:iOSCameraRestriction
ActionReason=weekday camera disable
Wakeup=yes
SendMessage=no
SendMessageText=
Element1_trigger=time
Element1_description=business hours
Element1_operator=greater than
Element1_source=local
Element1_value=08:00
Element2_elementoperator=AND
Element2_trigger=time
Element2_description=business hours
Element2_operator=less than
Element2_source=local
Element2_value=17:00
Element3_elementoperator=AND
Element3_trigger=day
Element3_description=saturday
Element3_operator=does not equal
Element3_source=local
Element3_value=7
Element4_elementoperator=OR
Element4_trigger=day
Element4_description=sunday
Element4_operator=does not equal
Element4_source=local
Element4_value=1
[Rule2]
NumberofElements=2
Action=applylabel:CorporateOwned
ActionReason=serial or device id numbermatch
Wakeup=yes
SendMessage=no
SendMessageText=
Element1_trigger=device_id
Element1_description=corporate owned device_id match
Element1_operator=contains
Element1_source=local
Element1_value=6Q046Z5YA4S,DLXFR932DJHG,417a99d4d10d21ec
Element2_elementoperator=OR
Element2_trigger=serialnumber
Element2_description=corporate owned device serial match
Element2_operator=contains
Element2_source=local
Element2_value=6Q046Z5YA4S,DLXFR932DJHG
[Rule3]
NumberofElements=5
Action=applylabel:WeekdayInBuildingLabel
ActionReason=less than 100 meters from building
Wakeup=yes
SendMessage=no
SendMessageText=
Element1_trigger=distance
Element1_description=device is too close to the building
Element1_operator=less than
Element1_source=local
Element1_value=37.396926,-122.056625
Element1_distance=100
Element1_distance_maxlocationage=4
Element2_elementoperator=AND
Element2_trigger=time
Element2_description=business hours
Element2_operator=greater than
Element2_source=local
Element2_value=08:00
Element3_elementoperator=AND
Element3_trigger=time
Element3_description=business hours
Element3_operator=less than
Element3_source=local
Element3_value=17:00
Element4_elementoperator=AND
Element4_trigger=day
Element4_description=saturday
Element4_operator=does not equal
Element4_source=local
Element4_value=7
Element5_elementoperator=OR
Element5_trigger=day
Element5_description=sunday
Element5_operator=does not equal
Element5_source=local
Element5_value=1