Here's a silly thought...

Why not create several templates with your <cfmail> tag, but each one with
a different combo of attributes? Then you simply call the appropriate
template based on what attributes you've got for that particular send.

I don't know how many different attributes you've got to deal with, hence
can't say how many different combos it would result in...

Either that, or have default values for those attributes that you use if
you don't have values coming from whatever source. So if you had a 'server'
var, you'd use it, but if not, use '127.0.0.1' (for itself) or some other
value as a default outgoing server. That would solve some issues.

--Scott
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to