Hi Cornik,
Yes it is possible to send the URL in your mail.
1. You need to go to Data Connection. In the Designer, go to Tools->Data Connections and click Add. Select Submit data and click Next. Select "As an e-mail message" and click next. A dialog will appear that has lines for To:, Cc:, Bcc:, Subject:, Intro, and form attachment. Click on the "fx" button next to the Subject: line and click Insert Field or Group. Select the Field from your main data source. Click OK. Which use the employee name for the file name field and specify others if you want. Click Next.
2. Here is the code to send an email via code
EmailAdapter oEmail = (EmailAdapter)thisXDocument.DataAdapters["Email Submit"];
oEmail.To = "
[email protected];
[email protected]";
oEmail.CC = "
[email protected]";
oEmail.Subject = "employeeName.xml";
oEmail.Intro = "Intro";
oEmail.Submit();
Note: Above code is in c#