c# - Send mail task is not working in SSIS when SSIS package is called through windows task scheduler -
i have ssis package reads csv files present in folder , uploads data database. has send mail component used send mails after csv file read , data uploaded. package called programmatically c# console application. in console app package called 1 time each file present in folder. console app scheduled run daily @ specific time through windows task scheduler.
the problem facing when directly double click on console app's exe , run it, data getting uploaded , mails being sent. when same console app's exe called task scheduler data csv file getting uploaded mails not being sent (mail functionality not working in case of scheduler)
what problem?
the cause permissions issue; account under console app runs doesn't have permission send email while account does. there error logs, windows event log entries, etc. generated console app?
Comments
Post a Comment