email - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Code » email 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: Oldest to newest Newest to oldest Previous Next 08-04-2005 05:33 AM kooldude Joined on 08-04-2005 Posts 2 email Reply Contact 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 Joined on 07-18-2005 Poland Posts 2 Re: email Mark as Not AnswerMark as Answer... Reply Contact You can use this piece of code for each button:Dim objEmailSet objEmail = Application.ActiveWindow.MailEnvelopeobjEmail.Subject = "Test e-mail message"objEmail.To = "mail@mail.pl"objEmail.Visible = true 08-05-2005 06:51 AM In reply to kooldude Joined on 08-04-2005 Posts 2 Re: email Mark as Not AnswerMark as Answer... Reply Contact 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 Patrick Halstead Joined on 08-07-2006 Posts 5,110 Re: email Mark as Not AnswerMark as Answer... Reply Contact 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 HalsteadProject Manager at Qdabra Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Use our Google Custom Search for best site search results.