Yes You're right Hilary, I used the in build function in submit button, it triggers the email to me,,
However, The code I written is to send out the automatic response to user who is submitting the form with different content in the email. This code, I have written in my outlook VB A,
Similarly, I need to send another email with different content. The email address should be picked it up from info path email form field.
Step 1: Basically, the user sends a request to me by filling the info path email form.
Step 2: Once he/she submits the request, I receive it an email and also they get an auto acknowledgement email/response from my outlook based on the code that I written.
Step 3: After, my job is to pick up the email ID from info path email form field (Text Box Value) submitted by the user and send an email to that email ID and asking for further information.