CAN ANY ONE HELP ME WITH THE BELOW ISSUE,, PLZ
Hi, I created an email form from Infopath without connecting to a
share point, Whenever user submit the form, I get an email to my inbox
and immediately there will be an acknowledgement sent to the user by
using script from my outlook, However, I need to send two different
email & one is for the user who is submitting the form and other one
should be picked it up from email form text box field. Here is the code
that I am using to send an auto acknowledgement email,,
Can anyone help me with the code to pull email ID from infopath email form submitted by users.???
Sub SendNew(Item As Outlook.MailItem)
Dim objMsg As MailItem
Set objMsg = Application.CreateItemFromTemplate("XXXPath\Automated Email .oft")
objMsg.Recipients.Add Item.SenderEmailAddress
objMsg.Send
End Sub