RE: Sending to multiple recipients using MAPISendMail
- Posted by thinkways at YAHOO.COM Aug 16, 2001
- 460 views
I must have gotten the semi-colon list thing from VB. This looks like a good solution. I may have to adopt it for defining multiple file attachments. I'm currently reworking e-post to use the Novell Groupwise profile setting > atom RECIP_SIZE > sequence recipient_list > RECIP_SIZE = 24 > recipient_list = {{"Jonas > Temple","myaddr at myserver.com"}, > {"George > Bush","president at whitehouse.gov"}} > recipient = > allocate(length(recipient_list)*RECIP_SIZE) > mem_set(recipient, 0, > length(recipient_list*RECIP_SIZE)) > for i = 1 to length(recipient_list) do > poke4(recipient+((i-1)*RECIP_SIZE)+RECIPCLASS, > MAPI_TO) > poke4(recipient+((i-1)*RECIP_SIZE)+NAME, > recipient_list[i][1]) > poke4(recipient+((i-1)*RECIP_SIZE)+ADDRESS, > recipient_list[i][2]) > end for > > That works and it makes sense how it was defined. > > Thanks for the input! > > Jonas > > > > > > > ===== ThinkWays! a modular and distributed technical information environment from Modular Reality systems. http://www.geocities.com/SiliconValley/Lab/7577 Live: Useless Web Camera http://www.geocities.com/SiliconValley/Lab/7577/camera.htm Commuter Hell! http://www.geocities.com/SiliconValley/Lab/7577/commute/commute.htm