How to remove xml attachment in email (IP 2003) - InfoPath Dev
in

InfoPath Dev

How to remove xml attachment in email (IP 2003)

Last post 04-10-2009 05:44 AM by ZaiZai. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-09-2009 10:32 AM

    How to remove xml attachment in email (IP 2003)

    I am using the following code in jscript to send a form in the body of an email.

    var mail = Application.ActiveWindow.MailEnvelope; mail.Subject = "test"; mail.Visible = true;

    My question is, is there a way to NOT include the xml when sending this email?  I know that it can be done via IP when creating an email submit connections, but this is using code.  Anyone have any way of achieving this? 

    Thanks,

    Matt

  • 04-10-2009 05:44 AM In reply to

    Re: How to remove xml attachment in email (IP 2003)

    My research tells me that this is not going to be something that I can do in IP 2003. 

    MailEnvelope object doesn't have a file attachment property.

    I was hoping that there was as I like the static snapshot of the form in the body of the email.  The only thing is that I would rather not see the attached xml file. 

    I know that you have the option to include or not include the xml file when you use the EmailAdaptor but that doesn't have the static snapshot of the form in the body of the email. 

    And yes, I know that all of this is not a problem in IP 2007, but if there is a way to not include the xml file in an email via code using something besides MailEnvelope please let me know.  Otherwise, I will have to face the facts that this will not be something that I can do.

    Thanks.

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