My send mail task works fine for email ids like user@mydomain.com but it throws error for email ids like user@subdo开发者_Python百科main.mydomain.com.
is there any way i can make it work for such ids also?
Thanks.
If you haven't tried already, put the email in a variable and use the expressions to set it to the ToLine property.
Otherwise you could use a script task and send an email that way. From what I can tell there are a lot of limitations with using the Send Email Task.
this should help: http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.dts.tasks.sendmailtask.sendmailtask.aspx
The error with emails on subdomains is not specific to SSIS send mail tasks; it may be a limitation or rule on your SMTP server.
I am successfully getting emails from my SSIS Send Mail tasks, on my subdomain account
精彩评论