Mail gateway

Is it possible to use a parameter or variable as the destination of the e-mail gateway?.
For example:

xbd.mail.to = “$destination”

We want to route incomminng messages to different destinations depending on information extracted from the message.

You can set the xbd.mail.to property eitehr with the emerger or with a set statement anytime before you call the mail gateway. Just don’t specify the xbd.mail.to as part of the mail gateway step statement.