Hi,
I am trying to make my SmartTag to send e-mail but I dont know How.
I have a contact list from SharePoint that contains names and e-mail addresses, when you write name of one of the contacts you get the Action of the SmartTag, ( I mean it works and it recognizes the name of my contacts in sharepoint).
my problem is; how it can send e-mail, I tryed following code: (it does not work)
ProcessStartInfo StartMail = new ProcessStartInfo("OUTLOOK.EXE");
StartMail.Arguments = string.Format("example@hotmail.com"); Process.Start(StartMail);
I get following error:
Cannot start Microsoft Office Outlook. The command line argument is not valid. Verify the switch you are using...
thanks for your help
I am trying to make my SmartTag to send e-mail but I dont know How.
I have a contact list from SharePoint that contains names and e-mail addresses, when you write name of one of the contacts you get the Action of the SmartTag, ( I mean it works and it recognizes the name of my contacts in sharepoint).
my problem is; how it can send e-mail, I tryed following code: (it does not work)
ProcessStartInfo StartMail = new ProcessStartInfo("OUTLOOK.EXE");
StartMail.Arguments = string.Format("example@hotmail.com"); Process.Start(StartMail);
I get following error:
Cannot start Microsoft Office Outlook. The command line argument is not valid. Verify the switch you are using...
thanks for your help