  <wml>
    <!-- user_email.wml -->
    <head>
      <meta http-equiv="Cache-Control" content="max-age=0" forua="true" />
      <meta http-equiv="Cache-Control" content="must-revalidate" forua="true"/>
    </head>

    <card id="user_email" title="User Email">
      <onevent type="onenterforward">
        <refresh>
            <setvar name="userid" value="<%=userid%>"/>
            <setvar name="passwd" value="<%=passwd%>"/>
            <setvar name="u_firstname" value="<%=u_firstname%>"/>
            <setvar name="u_lastname" value="<%=u_lastname%>"/>
        </refresh>
      </onevent>
      <do type="accept" label="OK">
        <go href="#send_email_cc" />
      </do>
      <p>
        <i><b>GT <%=u_firstname%> <%=u_lastname%></b></i>
        <br />To Email Addr:
        <input title="Email_To" name="email_to" size="10" format="mmmmm*m" />
      </p>
    </card>

    <card id="send_email_cc" title="Send Email CC">
      <do type="accept" label="OK">
        <go href="#send_email_subj" />
      </do>
      <p>
        <i><b>GT <%=u_firstname%> <%=u_lastname%></b></i>
        <br />Email CC:
        <input title="Email_cc" name="email_cc" size="10" format="*m" />
      </p>
    </card>

    <card id="send_email_subj" title="Send Email Subj">
      <do type="accept" label="OK">
        <go href="#send_email_msg" />
      </do>
      <p>
        <i><b>GT <%=u_firstname%> <%=u_lastname%></b></i>
        <br />Email Subj:
        <input title="Email_Subj" name="email_subj" size="10" format="m*m" />
      </p>
    </card>

    <card id="send_email_msg" title="Send Email Msg">
      <do type="accept" label="OK">
        <go href="?fnc=user_email&amp;email_ok=user_login&amp;email_err=user_email_err&amp;userid=<%=userid%>&amp;passwd=<%=passwd%>">
          <postfield name="email_to" value="$(email_to)"/>
          <postfield name="email_cc" value="$(email_cc)"/>
          <postfield name="email_subj" value="$(email_subj)"/>
          <postfield name="email_msg" value="$(email_msg)"/>
        </go>
      </do>
      <p>
        <i><b>GT <%=u_firstname%> <%=u_lastname%></b></i>
        <br />Email Msg:
        <input name="email_msg" size="10" format="m*m" />
      </p>
    </card>

  </wml>
