![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I have written a dts in SQL Server which uses the Send Mail task. I would like to log the details of a failure, if the mail fails to be delivered, ie if the email address is invalid. The problem is that the Workflow On Failure event will only fire if the mail fails to be sent, not if it fails to be delivered. As a result, the mail will always send successfully, and the dts is unaware of any failed deliveries. Is there any way of checking for delivery success? I have a feeling that this may not be a particularly easy thing to do, and will probably involve interrogating the Exchange Server - any help on this would be greatly appreciated. Thanks Dom |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Just as I thought, and I think it will be too much work to get a confirmation sent back, even if this is possible, using the MAPI client. Especially since I have no experience of this at all. Is it possible, though, to request that a delivery receipt is sent when the email is delivered correctly? I can then use a manual process to check, for each email sent, that it has been delivered correctly, and update the SQL table as necessary. I know that when sending an email from Outlook a delivery receipt can be requested, but this is not the default. Does anybody know how to force this when sending from the DTS? Thanks again for your help, Dom |
#5
| |||
| |||
|
|
You could set this up for the account under which you send mails in DTS. "Boycey" <dom_boyce (AT) yahoo (DOT) co.uk> wrote in message news:dom_boyce (AT) yahoo (DOT) co.uk: Just as I thought, and I think it will be too much work to get a confirmation sent back, even if this is possible, using the MAPI client. Especially since I have no experience of this at all. Is it possible, though, to request that a delivery receipt is sent when the email is delivered correctly? I can then use a manual process to check, for each email sent, that it has been delivered correctly, and update the SQL table as necessary. I know that when sending an email from Outlook a delivery receipt can be requested, but this is not the default. Does anybody know how to force this when sending from the DTS? Thanks again for your help, Dom |
#6
| |||
| |||
|
#7
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |