I have a bi package that restores databases. It works okay, but doesn;t always send a notification email as it is designed to do. It seems to work if I have logged on the the machine. It seems to fail if I haven't logged on in a while. Here is the error log.
Send Mail Task Send Mail Task Description: An error occurred with the following error message: "The SMTP server requires a secure connection or the client was not authenticated. The server response was: authentication required for relay (#5.7.1)". End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 3:00:00 AM Finished: 3:01:07 AM Elapsed: 67.159 seconds. The package execution failed. The step failed.
Same package works when I log on and run it. Is this a credentials thing on the sql server agent?
Help
dave