Hello!
We've been using the automation tools with Toad for DA for quite some time here without issue. That is, until we upgraded our desktops to Windows 7 recently. Since that upgrade, automation tasks will successfully send email as long as the user is logged in to the desktop. If the user logs out, the task will run, but any emails sent by the task fail.
Here is what the logs are showing when the emails fail to send. (The rest of the automation works as expected)
-- 8/6/2012 10:20:40 AM: test_automation.log: The socket object used by MailBee was unexpectedly closed. InnerException message follows: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
-- 8/6/2012 10:20:40 AM: test_automation.log: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
-- 8/6/2012 10:20:40 AM: test_automation.log: at a.ae.a(Exception A_0)
at a.ae.a(Byte A_0, Int32 A_1)
at a.ai.a(Byte A_0, Int32 A_1)
at a.v.ak()
at a.m.a(String A_0, Int32 A_1, Boolean A_2, Socket A_3, EndPoint A_4)
at a.m.x()
at a.f.l.x()
at a.f.m.x()
at a.f.l.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Boolean A_7, DataTable A_8, Int32 A_9, String A_10)
at a.f.m.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Boolean A_7, DataTable A_8, Int32 A_9, String A_10)
at a.f.e.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Int32 A_7, aw A_8, Boolean A_9, DataTable A_10, Int32 A_11, String A_12)
at a.f.n.a(String A_0, EmailAddressCollection A_1)
at a.f.n.a(Boolean A_0, String A_1, EmailAddressCollection A_2)
at a.f.n.a(Boolean A_0)
at MailBee.SmtpMail.Smtp.Send()
at Quest.Toad.Workflow.Activities.SendEmailActivity.SendMail(SmtpServer server, MailMessage email)
-- 8/6/2012 10:20:40 AM: test_automation.log: Email successfully sent
-- 8/6/2012 10:20:41 AM: test_automation.log: Email_1 - There were errors encountered sending the message. See the log file for details.
Everything worked flawlessly under Windows XP, so we're kind of at a loss as to what's happening. Any ideas?
-Eric