Thanks you for question. Please provide me the screenshot of your custom form, or a link to custom form which have enquiry email field. I need to check form to know what you mean.
I see you want to config SMTP email server for sender? because we are using default local smtp server of magento and just allow config sender email.
Answer for Ves Form sender issue with SMTP