|
|
|||||
| The RECEIVER_NAME string tag appears in the RECEIVER_ADDRESS sections of taglists prepared for the SEND_MESSAGE function, and in message taglists returned from the GET_Q_ENTRIES_INFO function. This tag provides the friendly name for an address being provided with the RECEIVER_ADDRESS tag. When sending fax messages when a cover template is enabled at the fax server, the value of the RECEIVER_NAME tag is merged into the cover template's $(ReceiverName) replacement field. | |||||
| Type | Max Size | Multiple Allowed | |||
| String | 64 | No | |||
Example: |
|||||
|
function SendFaxCover() { var Tl, StatusNum; Tl = CAS.New(); CAS.AddTag(Tl,"SEND_MESSAGE",""); CAS.AddTag(Tl,"REGISTERED_NAME",UserName); CAS.AddTag(Tl,"REGISTERED_PASSWORD",UserPassword); CAS.AddTag(Tl,"TRANSFER_TYPE",0); CAS.AddTag(Tl,"SUBJECT","Subject"); Sl = CAS.CreateSection(Tl,"RECEIVER_ADDRESS","555-123-1234"); CAS.AddTag(Sl,"RECEIVER_NAME","Recipient 1"); CAS.CloseSection(Sl); Sl = CAS.CreateSection(Tl,"RECEIVER_ADDRESS","555-456-1234"); CAS.AddTag(Sl,"RECEIVER_NAME","Recipient 2"); CAS.CloseSection(Sl); Sl = CAS.CreateSection(Tl,"CONTENT_PART",2); // Cover Message CAS.AddTag(Sl,"CONTENT_TYPE",1); // File Type ASCII CAS.AddTag(Sl,"CONTENT_DATA","This is my cover text!"); CAS.CloseSection(Sl); // Send message on this already open session Tl = CAS.Send(cInst,Tl); StatusNum = parseInt(CAS.GetTag(Tl,"STATUS_NUM",0)); CAS.Delete(Tl); return(StatusNum); } |
|||||
See Also: |
|||||
| SEND_MESSAGE, GET_Q_ENTRIES_INFO, RECEIVER_ADDRESS, SENDER_NAME | |||||
|
|