Hi Mwacuka,
Since you have posted on this thread I am assuming that you are using MapiEx and Outlook.
I doubt you would be able to do that in a straight forward way. You may be able to send the html tags for a dropdown list but how the recipient would receive it and respond to it and read it again would be something to be tried out.
You could also think of using the voting buttons to achieve the same purpose in a very easy way.
Code:
Dim OutApp As Object
Dim OutMail As Object
Dim HtmlMsg
OutApp = CreateObject("Outlook.Application")
OutMail = OutApp.createitem(0)
HtmlMsg = "Hi Team,<br><br><b><u>" & "Please respond your answer with the voting buttons" & "</b></u>"
HtmlMsg = HtmlMsg & "<br><br>Warm Regards,<br>" & "Your Name & Signature Here"
With OutMail
.To = "abcd@xyz.com"
.cc = ""
.BCC = ""
.Subject = "Test message with voting options"
.HTMLBody = HtmlMsg
.VotingOptions = "Accepted;Rejected;On Hold"
.display
End With
OutMail = Nothing
OutApp = Nothing
Above is a simple code stage with html that produces an email before sending as below -
View attachment 1533976606515.png
Here you can notice the options given to the recipient for choosing the ones that you have provided in the code (.VotingOptions = "Accepted;Rejected;On Hold") and can customise it as per your requirements.
One thing to be noted about this approach is that the response email made by the recipient will not contain any body but only the actual value of the response provided (Accepted, Rejected or On Hold). So you need to identify the email based on the sender and the subject line or so. Send and Receive a test email and check out if it satisfies your requirement.
The above code is without the VBO. The point I was trying to make is to see if there is the same capability of adding voting buttons in the code that use the MapiEx VBO. I do not have MapiEx capabilities on my machine so I cannot do that. Go to code of the action that sends the email and see if the object that adds the To, Subject, Body etc. can also accommodate the Voting Buttons. If so then you are good to go or else you might have to use a separate code something like the above. Post back with what you came up with.