My send mail task works fine for email ids like user@mydomain.com but it throws error for email ids like user@subdomain.mydomain.com.
is there any way i can make it work for such ids also?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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