<< Click to Display Table of Contents >>

 

zetafax_logo

Message defaults

 


 

This structure conatins the default message settings for the user. It is used in the ZfxGetMsgDefaultsEx() function

 

Field

Description

PriorityDefault priority.

This is a variable of type  ZFMSGPRIORITY, and the value is one of the ZFPRIORITY_??? values listed below. Priority variables are given below.

 

HeaderDefault header.

This is a variable of type  ZFMSGHEADER, and can be a combination of one or more of the ZFHEADER_??? values listed below. Header variables are given below. These values should be combined using the bitwise-OR operator

QualityDefault Quality.

This is a variable of type  ZFMSGQUALITY, and the value is one of the ZFQUALITY__??? values listed below. Quality variables are given below.

SendTime

Variable of type ZFSENDTIME determining when a message  submitted by the user will be sent. The value is one of the ZFSENDTIME__??? values listed below. Send Time variables are given below.

AfterYear, AfterMonth, AfterDay, AfterHour, AfterMin, AfterSec;

Short integer values specifying the 'send after' time. These parameters are ignored unless the SendTime parameter is set to ZFSENDTIME_AFTER.

szFrom

Character string giving the from field to use. The maximum  length of this string (excluding terminating NULL) is given by the constant  ZFMSG_FULLNAME_LEN.

szCoversheet

Character string giving the name of the coversheet to use. The maximum  length of this string (excluding terminating NULL) is given by the constant  ZFMSG_COVERSHEET_LEN.

szLetterhead

Character string giving the name of the letterhead to use. The maximum  length of this string (excluding terminating NULL) is given by the constant  ZFMSG_LETTERHEAD_LEN.

Priority

 

The following list gives the possible values for message priority.

 

Message priority

Description

ZFPRIORITY_BACKGROUND

The lowest priority - messages with this priority will be processed after messages with other priorities.

ZFPRIORITY_NORMAL

Standard priority

ZFPRIORITY_URGENT

The highest priority - messages with this priority  will take precedance over messages with other priorities.

Message header

 

The following list gives the possible message header settings (variable of type ZFMSGHEADER).

 

Message header setting

Description

ZFHEADER_NONE

No setting.

ZFHEADER_NUMBER

Phone number.

ZFHEADER_TO

To field.

ZFHEADER_FROM

From field.

ZFHEADER_DATE

Date field.

ZFHEADER_TIME

Time field.

Quality

 

The following list gives the possible values for message quality.

 

Message quality

Description

ZFQUALITY_DRAFT

Low quality.

ZFQUALITY_NORMAL

Standard quality.

ZFQUALITY_HIGH

High quality.

Send time

 

The following list gives the possible values for the SendTime field.

 

Send time

Description

ZFSENDTIME_NOW

Send the message immediately.

ZFSENDTIME_OFFPEAK

Send the message during the offpeak period.

ZFSENDTIME_AFTER

Send the message after the time specified by the 'send after' fields.

 

back_to_top

 

Related topics

Function overview

Function error returns and reference

Alphabetical reference

Message transmission history functions

Server and device status functions

Converting from older versions of the API