Here is the segment that loads the addresses:
---
addList = PhnLibNewAddressList(PhoneLibRefNum);
loop {
/* get next "number" in loop... */
hAddress = PhnLibNewAddress(PhoneLibRefNum, number, phnLibUnknownID);
if (hAddress)
{
PhnLibAddAddress(PhoneLibRefNumP, addList, hAddress);
MemHandleFree(hAddress);
}
} /* loop */
PhnLibSetAddresses(PhoneLibRefNum, msgID, addList);
---
Amazingly, it works sometimes, which is why I think I am doing something wrong.
Neither does this segment throw-up any errors of any kind. Sometimes, the first
recipient gets multiple messages, and the rest, none.
Further, the "SMS Messages2" DB does have the proper entry having the loaded
numbers.
Thanks for any advice you can provide.
- mvk
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/