Submitting Infopath form from outlook results in duplicate in Sent Items folder - InfoPath Dev
in

InfoPath Dev

Submitting Infopath form from outlook results in duplicate in Sent Items folder

Last post 02-16-2012 06:13 PM by stara. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-08-2012 03:55 AM

    • stara
    • Top 200 Contributor
    • Joined on 10-20-2010
    • Posts 54

    Submitting Infopath form from outlook results in duplicate in Sent Items folder

    When I submit infopath form using outlook, the email is sent twice in my "Sent Items" folder (however recipient receives only one email). The first sent item contains a green globe icon and with the message header "This form has been submitted". The second sent item does not contain globe and does not contain message header. How can I prevent the duplicate in Sent items folder.

     I'm using this code in FormEvents_Submit():

    e.CancelableArgs.Cancel = false;

    emailconnection.Execute();

    Please advise.

     

    Thanks a lot,

     

     

     

  • 02-16-2012 01:01 PM In reply to

    Re: Submitting Infopath form from outlook results in duplicate in Sent Items folder

    Hi Stara,

    Is your email data connection configured to send the XSN as well as the XML? Maybe that's why you are seeing double, but it's just a guess.

    Patrick Halstead
    Project Manager at Qdabra
  • 02-16-2012 06:13 PM In reply to

    • stara
    • Top 200 Contributor
    • Joined on 10-20-2010
    • Posts 54

    Re: Submitting Infopath form from outlook results in duplicate in Sent Items folder

    Hi,

     

    In the Form Options - the following is checked 

    Always send current view and the following attachments - Form data is selected

    Enable Infopath form functionality is checked

     

    Are the above settings causing the duplication?

     

    Thanks

     

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.