× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The 5th parameter to QtmmSendMail (the one where you specify recipients) can accomodate many recipients. You just have to write your code to fill in all of the recipients properly in that structure (format ADDTO100), and the offsets/lengths that go with that.

Personally, I implemented my prototype & data structure for QtmmSendMail so that the ADDTO100 format is set up as an array. That way, specifying multiple recipients is just a matter of specifying multiple elements in the array.

If you want the recipient's name to be included in the list of recipients that's displayed to the user, then you also need to add it to the "to:" or "cc:" header of the stream file that contains the actual e-mail message. You can specify many recipients in the same header line by separating them with commas.



James Lampert wrote:
Any QtmmSendMail gurus out there?

I'm calling QtmmSendMail from RPG, with one recipient, and it's working fine. Anybody know off the top of their heads what's involved in changing an existing QtmmSendMail call from sending to one recipient, to sending to an indeterminate number of recipients?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.