We have a task to set specific email address for subscriber (recipient' email address) during email sending based on some criteria in sendable Data Extension. We tried to use AMPScript functions like CreateObject( "Subscriber" ) but it causes the error:

"CreateObject Function is not valid in content. This function is only allowed in non sendable content."

What other possible solutions to send email to specific address defined in AMPScript exist? Is it possible at all?

  • do you want to change the subscriber EmailAddress in All Subscriber list?
    – Palash Rai
    Mar 7, 2017 at 11:06
  • Can you explain why the subscriber's email address needs to be changed "during email sending"? If the information is available before the send, as @PalashRai suggests, can All Subscribers be updated instead? Check out these similar questions: update subscriber attribute in ampscript and update profile attributes Mar 7, 2017 at 11:21
  • @Pa Right, Ideally we need to implement one MC Contact with multiple email addresses. So, if it is possible to change EmailAddress for Subscriber, it might resolve this. Mar 7, 2017 at 11:39
  • @CameronRobert We have to send email to different addresses based on subscriber attribute. I don't believe that this is possible based on one MC Contact. I just want to be 100% sure. Mar 7, 2017 at 11:44

1 Answer 1


I would suggest you read this article here. Basically, AMPscript is evaluated as the last thing during the send, so you wouldn't be able to update the email address during send.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .