cMailAndGroupSemicolon-separated groups and addresses.
AdvPL GuideMailGroup(cMailAndGroup) -> cMailAndGroupExpands groups from the current user address book.
The TOTVS Protheus 10/11 reference describes semicolon-separated group names and email addresses. The result combines supplied addresses with members of that user’s groups. This function is not documented as sending a message. The listed source is MSSPOOL.PRW. As historical documentation, availability and group resolution require checking in the deployed release. (Sources: refs. 1–1.)
MailGroup(cMailAndGroup) -> cMailAndGroupcMailAndGroupSemicolon-separated groups and addresses.
String of semicolon-separated addresses.
#Include "Protheus.ch"
User Function Ed515()
// Prepared block requires a test user/address book; not invoked.
Local bExpand := {|cInput| MailGroup(cInput)}
ConOut(ValType(bExpand))
Return NilPrints B. When evaluated, the block returns addresses according to the current address book. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.