XModPro

How to use <email> tag with field token

Kelly W Kelly W posted May 19, 2017
Active May 19 · Viewed 1816 times

Hey folks, I'm 3 month old XMP newbie from the VB world, liking it pretty good .. but, I'm not sure where I'm going wrong here. I have an "Add" form that uses a select command from a different table to retrieve an email address based on a url string (CID). Then I want to use that email address as the "To" address in the <email> tag on form submit. Everything else works fine, data loads, the email address I want to use displays on screen .. everything checks out but the value is not passed into the <email> tag. Instead it produces an empty string or null error according to DNN event log.

Message:A recipient must be specified.

A static address will work fine so I know email works. An invalid email address will throw a different error in DNN.

Seems like a common usage. Documentation seems to suggest it should work that way. Any help much appreciated. I've tried just about everything I could find.


3 Replies

Loading replies...