Send InfoPath Form in the body of mail - InfoPath Dev
in

InfoPath Dev

Send InfoPath Form in the body of mail

Last post 03-22-2007 09:56 AM by Matt Faus. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-22-2007 02:12 AM

    • mrudula
    • Top 500 Contributor
    • Joined on 02-14-2007
    • India
    • Posts 31

    Send InfoPath Form in the body of mail

    Hi,

    I am trying to send infopath form through mail and want to show this form in the body of email. I am trying to send mail with the help of c# .Net by coding using System.Web.Mail ref and its corresponding methods. So not using data connections to send mails.

    How to have this InfoPath form in the body of mail? As I can easily attach form in mail. How should I proceed?

    Thanks in advance..:)

    Mrudula
  • 03-22-2007 06:30 AM In reply to

    • mrudula
    • Top 500 Contributor
    • Joined on 02-14-2007
    • India
    • Posts 31

    Re: Send InfoPath Form in the body of mail

    Hi,

    I searched some thing similar to this. But getting some problem in implementing. Please help me.

    Can i set mailenvelope object to the infopath form that is previously created through coding?.
    // Set a reference to MailEnvelope object.
    MailEnvelope myEnvelope = =this.Application.ActiveWindow.MailEnvelope;

    I want to set mailenvelope to the previously created infopath form and not to the activewindow application as I am setting this from other VS project and not from Infopath form template.
    Can we do that?

    Thanks in advance :)
  • 03-22-2007 09:56 AM In reply to

    Re: Send InfoPath Form in the body of mail

    Hi mrudula,

    There are countless posts about this on our forums, so please try out the search feature in the top right of the screen.

    Instead of creating your own MailEnvelope object and setting the implicit one to it, just edit the implicit one directly.
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.