In SSIS can we Send email using Data Flow Output Column. And If Condition is Met I want to Send Email. I want to is it possible? If it is possible then how can we do that?
If anyone know please let me know.. Thanks in advance!
In SSIS can we Send email using Data Flow Output Column. And If Condition is Met I want to Send Email. I want to is it possible? If it is possible then how can we do that?
If anyone know please let me know.. Thanks in advance!
As @TabAlleman mentioned, the only way is using a Script Component. You can refer the following link for sending email using a C# script:
System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage();
message.To.Add("luckyperson@online.microsoft.com");
message.Subject = "This is the Subject line";
message.From = new System.Net.Mail.MailAddress("From@online.microsoft.com");
message.Body = "This is the message body";
System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("yoursmtphost");
smtp.Send(message);
Code Reference
Similar Issue