<- Back to SMTPit Pro function list
SMTPit_SetPriority
- Description
This function allows you to set the "Priority" of an email. Most email clients understand the Priority setting on an email and will highlight the email as more or less important than other emails. This function will take the numbers 1 through 5 with 1 being the Highest Priority, and 5 being the Lowest. This function will also take one of the following five words: "Highest", "High", "Normal", "Low", or "Lowest". The Priority defaults to 3 or "Normal".
- Return Type
- Text
- Format
- SMTPit_SetPriority ( Priority )
- Required Parameters
- Priority
The Priority of the email. Use "Highest", "High", "Normal", "Low", "Lowest", or the numbers 1 through 5.
- Priority
- Examples
Example 1
Code:
SMTPit_SetPriority( 1 )Result:
Sets the priority to "Highest".Example 2
Code:
SMTPit_SetPriority("High")Result:
Sets the priority to "High"Example 3
Code:
SMTPit_SetPriority( Email Priority )Result:
Sets the priority to the value in the "Email Priority" field.