NotifyMessage Property
User defined text that will be included in the email to be sent to Email .
Syntax
fedexfreightship.getNotifyMessage(index, [callback]) fedexfreightship.setNotifyMessage(index, notifyMessage, [callback])
Default Value
""
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getNotifyMessage([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setNotifyMessage([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
User defined text that will be included in the email to be sent to NotifyEmail. This is optional.
For FedEx, when multiple recipients exist, the message for the first recipient is the only message that will be included in the request. FedEx only allows one message for all of the recipients of the notification email.
This property is not used by USPS or Canada Post.
The size of the array is controlled by the NotifyCount property.
This property is not available at design time.
Data Type
String