Hi,
Welcome on board!
After you create the connection (email), write the following code in your onclick event (C#)
EmailAdapter oEmail = (EmailAdapter)thisXDocument.DataAdapters["EmailConnectionName"];
oEmail.To = sToAddress;
oEmail.CC = sCCAddress;
oEmail.Subject ="Subject, What ever you want";
oEmail.Intro = "s filled form of XY.xsn has been filled out. You can find it under X:\shared\formsXY\" + link;
oEmail.Submit();
++
Thierry
P.S. Next time make a little search on the forum before post! The search button for the forum is in the right corner not left (left search is only website content)! Thanks a lot
Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
merci de lire ceci