Search - InfoPath Dev Sign in | Join | Help 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 Search More Search Options Page 1 of 1 (10 items) Re: Send mail from form Thank you very mutsh, the code works, and my knowledge in code beggins to grow (from nothing...:p ) Thank you again for all the help you gave me !!! BR, Pich Posted to Code (Forum) by Pich on 01-19-2006 Re: Send mail from form Ok, no problem :) My code looks-like that for the moment : oEmail.To = XDocument.DOM.selectSingleNode(''myFields/dfs:dataFields/d:MainData/@Mail'').text; But it returns me an error : Object Required I'm not sure of the references, what do you think about? Another question : Have I to write the code to find the node directly after oEmail.To ... Posted to Code (Forum) by Pich on 01-19-2006 Re: Send mail from form In this line : XDocument.selectSingleNode( ''XPath/To/Email/Node'' ).text; I don't understant the ''XPath/To/Email/Node''. I think it's about reference to the form but I don't know which reference I have o use. Can you help me on this point? BR Pich Posted to Code (Forum) by Pich on 01-18-2006 Re: Send mail from form The problem is, when i use thisXDocument.selectSingleNode( ''XPath/To/Email/Node'' ).text; it returns me an error : 'thisXDocument' is undefined' What I want to do is send an e-mail to all the Email adresses saved in the DataBase linked to the form. I thank to use thisXDocument.selecNodes but I don't know how to use it...! This mail have to ... Posted to Code (Forum) by Pich on 01-17-2006 Re: Send mail from form Ok, I resolved the last problem! The different titles are the names of the buttons. One more precision, I don't know how to link the field in which i entered the email adresses. Indeed, I want to send email to all adresses entered in the form. In : oEmail.To = ''mail adress'' I don't know how set the field reference, the code needs a valid ... Posted to Code (Forum) by Pich on 01-16-2006 Re: Send mail from form Thank you, I begin to understand the ''meaning'' of this code, and the description you made of the different steps was very clear for me. Just one more question about it, i don't know where I've to copy this code when I'm editing the button's code. There is some place where I can write code as : - CTRL136_7::OnClick(eventObj) - ... Posted to Code (Forum) by Pich on 01-16-2006 Re: Send mail from form Thx a lot, it can help me ! The problem is I dont know how to use this code... xD I don't have any knowledge in programmation; i'm learning but it's diffficult... Can u help using this code, just say me whish word are important in the code, wish i have to change and where i have to writte the script in the code page of the button : //Get the ... Posted to Code (Forum) by Pich on 01-10-2006 Re: Send mail from form Thank you for your answer ! By template I mean a preformated email. So, I want to send this email from the form, and not send the form by email. The emails I want to send are about other data. i just want to create a button wich permit me to open a new mail when i click on it? Is it possible? BR, Pich ** so sorry for my english '''' Posted to Code (Forum) by Pich on 01-10-2006 Congratulation for this forum Hi, I want to congratulate you for this forum, very interesting! How everybody can see, information about infopath are too rare and it's difficult to find an answer to a specific problem. For helping us, thank you ^^ BR, Pich ** sorry for my english ** Posted to Feedback, Comments and Suggestions concerning InfoPathDev.com (Forum) by Pich on 01-10-2006 Send mail from form Hi all, I creat a form linked to an access database. I want to be able sending mail from my form by entering an email and choosing a template. Is it possible? Thx for your help ! BR, Pich Posted to Code (Forum) by Pich on 01-10-2006 Page 1 of 1 (10 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.