News Products Updates Support EmailDLL Manual FAQ Debug DocBox Contacts Company Site Map |
EmailDLL Online ManualDLL val_SetMaxAttempts example:
#INCLUDE DLLdefines100.js var MaxAttempts = 5; var nInfo = new netInfo(); var Handle = nInfo.sessionID: var ErrVal = EmailCmd(Handle,val_NewEmail,""); if (ErrVal >= 0) { SetDebugOn(); ... ... EmailCmd(Handle,val_SetMaxAttempts,""+MaxAttempts); ErrVal = EmailCmd(Handle,val_SendMessage,""); } var ErrString = GetErrorString(ErrVal); IMPORTANT: Note the expression ""+MaxAttempts. This is necessary because, while the value must an integer number, the data type in which the information is transferred is a string. In Javascript, that syntax will convert the integer MaxAttempts into a string. |