<cfif Left(form.LAST_NAME, A,B,C,D,E,F,G,H)>
<CFMAIL TO="person1@bob.org"
FROM="#form.EMAIL#"
etc...
</CFMAIL>
<cfelseif Left(form.LAST_NAME, I,J,K,L,M,N,O,P)>
<CFMAIL TO="person2@bob.org"
FROM="#form.EMAIL#"
etc...
</CFMAIL>
<cfelseif Left(form.LAST_NAME, Q,R,S,T,U,V,W,X,Y,Z) >
<CFMAIL TO="person3@bob.org"
FROM="#form.EMAIL#"
etc...
</CFMAIL>
<cfelse>
<CFMAIL TO="person4@bob.org"
FROM="#form.EMAIL#"
etc...
</CFMAIL>
</cfif>
Please Help! Thanks in advance.

New Topic/Question
Reply



MultiQuote




|