email - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

email

Last post 08-05-2005 03:49 PM by Patrick Halstead. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-04-2005 05:33 AM

    email

    hi .. i just have a simple question .. i have 3 submit buttons in my form to be submitted as email .. i want all the 3 submit buttons to have a different email address .. but wats happening is if once i configure the email to one button the other 2 submit buttons gets the same email.. i hope u understand wat i want to convey u
  • 08-04-2005 05:46 AM In reply to

    • belcik82
    • Not Ranked
    • Joined on 07-18-2005
    • Poland
    • Posts 2
    You can use this piece of code for each button:
    Dim objEmail
    Set objEmail = Application.ActiveWindow.MailEnvelope
    objEmail.Subject = "Test e-mail message"
    objEmail.To = "mail@mail.pl"
    objEmail.Visible = true
  • 08-05-2005 06:51 AM In reply to

    i have a form having 4 sections and in the section i have a drop down box and send email button ..the drop down box has approve and reject option.. what i want to do is when i select approve in drop down box i have to send it to one email if its reject it has to be sent to diff email.. is there a way to do it .. appreciate ur help...
  • 08-05-2005 03:49 PM In reply to

    Use Rules to set the value you are using in the Email Data Connection for routing. You can do this without code.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.