I have a VisualForce email template which is used to send a list of products to customers. The products are listed in a table in the email and I would like the end column to be a picklist with options the customer should choose from when they reply to the email as per the image below.

enter image description here

It looks good in the preview, but as soon as I send it it arrives like this.

enter image description here

This my component which is called by the VF template:

<apex:component controller="ConsignmentsOutstandingController" access="global">
   <apex:attribute name="acId" assignTo="{!aId}" type="String" description="the account id"/>
   <table border="0" cellpadding="2" width="100%" id="table3" style="font-size:11px;">
           <td bgcolor="#C0C0C0"><b>Document Date</b></td>
           <td bgcolor="#C0C0C0"><b>Order</b></td>
           <td bgcolor="#C0C0C0"><b>Product</b></td>
           <td bgcolor="#C0C0C0"><b>Description</b></td>
           <td bgcolor="#C0C0C0"><b>Quantity</b></td>
           <td bgcolor="#C0C0C0"><b>Action(I/R/C)</b></td>
      <apex:repeat value="{!cons}" var="oi">
                <apex:outputText value="{0, date, yyyy-mm-dd}">
                    <apex:param value="{!oi.Order.EffectiveDate}" /> 
                <select id="actionOption" name="ActionOption" size="1">
                    <option value="continue">Continue</option>
                    <option value="invoice">Invoice</option>
                    <option value="return">Return</option>

| improve this question | | | | |
  • The above works in Gmail, but not in Outlook :( – Irene Mar 30 '17 at 3:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.