Sending an email with MHT file as body also adds the filename to body - InfoPath Dev
in

InfoPath Dev

Sending an email with MHT file as body also adds the filename to body

Last post 07-29-2010 11:57 AM by jtownson. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-29-2010 11:57 AM

    Sending an email with MHT file as body also adds the filename to body

    Hi All,

    I am using this code to send an MHT file in the body of an email.  It works a really well however it adds the file name of the attachment to the body as well - is there a way of removing it?

    thisXDocument.View.Export(filelocation,"MHT");

    EmailAdapter Email1 = (EmailAdapter)thisXDocument.DataAdapters["submit"];

    Email1.To = toaddress;

    Email1.C = ReqEmail;

    Email1.Subject = subject;

    Email1.Intro = filelocation;

    Email1.Submit();

     Thanks All

     

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