none
Email Task - Sending emails to different users RRS feed

  • Frage

  • Hi,

    I am stuck with a problem in SSIS and need your suggestions / help to find the perfect solution.

    Problem:

    1) I have a table and 2 columns are needed for this task.

     - Validation Status

    - Email id

    2) I want to check Validation status column and if the value is 'Failed' I must send a email to the corresponding user using the email id column.

    Can you please guide me how to solve this task.

    The main challenge is face is how to send only one email to the user even though for the particular user many rows are returned with validation failed.

    How to send individual emails to different users for the same table. For example if for two users, Validation Status is 'Failed', I would like to have 2 separate emails for the users and not to have both the users in the 'To' field together.

    Thanks a ton in advance
    Montag, 4. Mai 2015 15:07

Alle Antworten

  • Hallo,

    achte doch mal ein bisschen darauf, ob Du in ein en-US oder de-DE Forum postest; kannst Du an der URL erkennen.

    Wenn ich es richtig verstanden habe, sollen E-Mails immer nur an einen User gehen, und wenn mehrere Nachrichten für einen User vorliegen, sollen die zu einer E-Mail zusammengefasst werden? Dann würde ich das von vornherein auch so selektieren, also das auf User gruppiert wird und der Nachrichtentext dabei zusammengefasst wird.


    Olaf Helper

    [ Blog] [ Xing] [ MVP]

    Dienstag, 5. Mai 2015 09:14