How can I get my list to use the recipients address in the To field?

  1. Home
  2. Knowledge Base
  3. GMS
  4. How can I get my list to use the recipients address in the To field?

Question

I have set up a list in GMS Communication Server but when messages are posted to the members the list address is maintained in the To field. I would rather have the member’s address in the To field.

Answer

This can be done quite simply using a bit of Mail Meta Language (MML) in the list headers. You should do the following.

  • Select the required list on the Post> Processing page of the interface.
  • Select "Headers and Footers" as the "Execute MML within posted messages" option
  • Click on Update
  • Click on the Edit button next to "Message insertions"
  • Enter the following code in the "Additional header fields" box to add the full name and email address of the recipient
    To: <# print(""",Name,"" <",RCPT,">"); #>
    
  • Click on the Save button

Enter the following code in the "Additional header fields" box to add only email address of the recipient

To: <# print(RCPT); #>

Now when a message is sent to a list member the original To address will be replaced dynamically by using the intended recipient’s Name and email address as stored in the member database.

Keywords:List GMS Comm Communicator To MML processing header

Was this article helpful?

Related Articles