I have created a task that runs on a daily basis to send emails to records in a table that meet a specified criteria. I could have a user with the same email address that has multiple records in the table, but each record is slightly different. So they are not unique records, but the same email address is utilized.
Is there a way to prevent this daily task from sending multiple emails to the same address even though the records are slightly different? I have tried using the "Select Distinct" From function, but I believe this only works if the entire record is unique. I would like a maximum of 1 email to be sent to 1 unique email address? Can this be done in the single task?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
gregcoiro
Hello,
I have created a task that runs on a daily basis to send emails to records in a table that meet a specified criteria. I could have a user with the same email address that has multiple records in the table, but each record is slightly different. So they are not unique records, but the same email address is utilized.
Is there a way to prevent this daily task from sending multiple emails to the same address even though the records are slightly different? I have tried using the "Select Distinct" From function, but I believe this only works if the entire record is unique. I would like a maximum of 1 email to be sent to 1 unique email address? Can this be done in the single task?
Thank you.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.