Does SMTP Services (under Add/Remove Windows Components in Add or Remove Software on Control Panel) have to be turned on for Send Mail to work. Will it work without it. I turned it on on my home machine because that is what the tutorial instructed. I then set the smtp server to smtp.east.cox.net (ie a real e-mail server, not a test setup for a home network). I assumed that the SMTP Services was needed.
At work I connect to a machine with SQL Server 2005 by going through a Citrix connection and then to a Remote Desktop to a machine "out there" somewhere. We have asked for an SMTP mail server and for SMTP Service to be turned on on the machine that has SQL Server. They asked why and I replied that the SMTP Connection Manager was looking for the SMTP Service to be turned on.
The response to the request for SMTP Service was,
"It’s looking for “an” SMTP server, not necessarily one on localhost. If you put a hostname of a remote smtp server into the configuration wizard, it will work fine. This is the direction you should go. Security is going to shoot your app down or you will need all kinds of waivers and such to run an SMTP server. The enterprise already runs this as a service and should be used in all cases where possible."
Is this correct?
They gave me a hostname and it still doesn't work. The only error messages I get when I run the package are:
"An error occurred with the following error message 'Failure sending mail'"
and
"Task Send Mail failed"
Is there anywhere that I can find a more detailed explanation of why it failed (ie Send Mail set up wrong or SMTP Connection manager set up wrong, etc).