Hi,
This may or may not be relevant, and there are limitations. I was able to create outlook tasks from project tasks in vantage. You can use the same process to generate emails.
....
IT IS CRUDE and use as is , it is not fully tested. no responsibility...
Creating Outlook Tasks from Vantage
Â
This was born out of using Project Tasks in vantage.
Â
Please note this is very basic and has following limitations
Â
1)Â Â Â Â Outlook Security will block the accessing outlook to send the task and requires user approval. However there is product called redemption which can by pass this but has not been tested
2)Â Â Â Â The code is very basic
3)    The code doesn’t check for duplication in outlook
4)Â Â Â Â Have not worked out how to synch back from outlook to vantage.
5)Â Â Â Â The code has hard coded items such as recipient but can easily altered to reference data in vantage
6)Â Â Â Â Only tested on Exchange 2003, Outlook 2003, Vantage 8.03.405
Â
Any further help would be great!
Â
There are two steps
Â
1)Â Â Â Â Copy the Microsoft.Office.Interop.Outlook Dll into the client folder
a.     This is required to be on client sending the task and not server.
2)Â Â Â Â Customised Code to create and send task.
Â
1.0 Referencing the Microsoft.Office.Interop.Outlook Dll
Â
In order to create the task, in this example, you use the above Dll. This may or may not be installed on the client. If not this needs to be downloaded. Any non Epicor assemblies Must be copied into Epicor client folder so that vantage can access them.
Â
1.1Â Â Download and Office 2003 Update: Redistributable Primary Interop Assemblies
Â
o       Download the package and install
1.2Â Â Copy the assembly Microsoft.Office.Interop.Outlook
Â
o       Now this is installed in a shell folder and the only way I could copy the file was by Dos
o       Open command prompt
o       Goto C:\windows\assembly\GAC
o       Goto to sub folder Microsoft.Office.Interop.Outlook
o       Copy the two files from to a safe haven. For future use
o       Copy the two files in to C:\client803
Â
2.0 Customising
Â
The first step is to add the reference to vantage
Â
2.1 In a customisation window > Tools > Custom Assembly Reference Manager
2.2 Add Custom Assembly
2.3 Add Microsoft.Office.Interop.Outlook
Â
The second step is to add the necessary code. In this example it is based on a click of custombutton2.
2.4 Add the following
Â
Imports System.Reflection
Imports Outlook = Microsoft.Office.Interop.Outlook
Â
           2.5 Add the CustomButton to the form
         2.6 Create a click event for the above
         2.7. Below is example code
Â
         Private Sub btnEpiCustom2_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnEpiCustom2.Click
                  '// ** Place Event Handling Code Here **
          Dim oApp As Outlook.Application = New Outlook.Application()
Â
           ' Get NameSpace and Logon.
         ' Dim oNS As Outlook.NameSpace = oApp.GetNamespace("mapi") NS.Logon("Outlook", Missing.Value, False, True)
Â
       Dim oNS As Outlook.NameSpace = oApp.GetNamespace("MAPI")
           ' TODO: ' Create a new TaskItem.
           Dim OTask As Outlook.TaskItem = oApp.CreateItem(Outlook.OlItemType.olTaskItem)
Â
Â
           ' Assign the task
           OTask.Assign()
Â
Â
           ' Add recipients to the task
           OTask.Recipients.Add("
Someone@...")
Â
Â
           ' Add the subject to the task
           OTask.Subject = "Example Task from Vantage"
Â
Â
           'Add the body to the task
           OTask.Body = "Example Task text from Vantage"
Â
Â
           ' Add the Task duedate
           OTask.DueDate = DateTime.Today
Â
Â
           ' Set the reminder to the task
           'oAppt1.ReminderSet = True
Â
Â
           ' Set the reminder time
           OTask.ReminderTime = OTask.DueDate
Â
Â
           ' If you want to display the task uncomment the next line
           'oAppt1.Display(True)
Â
Â
           ' Save the task to outlook
           OTask.Save()
Â
Â
           ' Send the task
           'oAppt1.Send()
Â
Â
     Â
           ' Log off.
           oNS.Logoff()
Â
Â
           ' Clean up.
           oApp = Nothing
           oNS = Nothing
    Â
End sub
Â
Â
________________________________
From: lisserjm <
Jennifer.Lisser@...>
To:
vantage@yahoogroups.com
Sent: Wed, 27 January, 2010 21:21:03
Subject: [Vantage] Right-click Email via Outlook
Â
Has anyone been able to change the right-click "Email" function in Epicor to launch Outlook rather than the Epicor version of mail?
The Epicor version doesn't save sent messages, spell check, font format, etc. so we would much rather just hand the process off to Outlook.
[Non-text portions of this message have been removed]