SSIS send mail task error out specified string not in form req for an email address

  • 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.

  • What is the error it is throwing and is the error coming from the component or from the email server itself?

    CEWII

  • Thanks for quick help.

    error msg is "specified string not in form req for an email address

    ".

    But i think the issue was different. I read email ids from csv file in 2 columns to and cc.In both columns i write multiple email ids with seperator ;.

    when i checked there was space between 2 email ids and that was causing error. So now i have task how I can trim the blank space in flat file source?

  • Add a derived column after your flat file source.

    Use the following expression:

    REPLACE([Email_Address], " ", "" )

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply