Archived Forum Post

Index of archived forum posts

Question:

Email SetReplacePattern question.

Mar 19 '13 at 11:11

When I am sending out multiple emails using the mail control, I assign values to the email object properties including SetReplacePattern, etc. After I send the first email, I find that the SetReplacePattern settings stick around for the second email. Is there a way to "clear" the email object so that none of the previous settings are there?


Answer

Unfortunately, there is no good way to clear only the replacement patterns. The current behavior is that SetReplacePattern will replace an existing pattern if it already exists.