I am just starting to use BIDS. I want to be able to send an email from the Send Mail Task.
I have set up a simple package with an SMTP connection and referenced the connection in a Send Mail Task.
My 'Send Mail Task' fails with the error, 'Failure Sending Mail'. I think the problem relates to my SMTP connection definition. I have IIS installed with a Default SMTP Virtual Server but I don't have a clue what to check.
The Default SMTP Virtual Server looks OK.
I can send an email via vbscript from the same machine although I don't know if vbscript uses IIS in the same way:-
Dazed and confused
I have set up a simple package with an SMTP connection and referenced the connection in a Send Mail Task.
My 'Send Mail Task' fails with the error, 'Failure Sending Mail'. I think the problem relates to my SMTP connection definition. I have IIS installed with a Default SMTP Virtual Server but I don't have a clue what to check.
The Default SMTP Virtual Server looks OK.
I can send an email via vbscript from the same machine although I don't know if vbscript uses IIS in the same way:-
Code:
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.From = "MyEmail@MyCompany.com"
objMessage.To = "MyEmail@MyCompany.com"
objMessage.TextBody = "This is a test."
objMessage.Send
Dazed and confused