Pull email to document/3rd party system
We are currently trying to replace exchange and outlook with a full zimbra solution on the 6 OS version.
However even tho we have pointed the developers at similar zimlets they seem unable to come up with anything
So we are looking for a developer that can quote to carry out the work and assist us move forward with this, otherwise unfortunately, exchange will be put in , which I really dont want!
For the Zimbra “issue” we need a .NET component (exe or dll) that can be access through FreightPLUS system in order to give us access to Zimbra program for either sending or reading e-mails similar to outlook.
For sending purposes we want to have the ability to send directly an email or to save it in the “Drafts folder”. We want to have the ability to include many recipients as to,cc,bcc,subject,body and attachment.
For receiving purposes we want to have the ability to read the details of the selected email item (sender,recipient,subject,body,attachment) and also to be able to save it in a specific folder.
Sample code in VB.NET for sending an email:
Public Sub SendMail( _
ByVal mailTo As String, _
ByVal mailCC As String, _
ByVal mailBCC As String, _
ByVal mailSubject As String, _
ByVal mailBody As String, _
ByVal mailAttachment As String, _
ByVal mailMode As My.App.MailMode)
' Create Outlook Email
Dim eMail As Microsoft.Office.Interop.Outlook.MailItem
Dim oAppl As New Microsoft.Office.Interop.Outlook.Application
eMail = oAppl.CreateItem(Microsoft.Office.Interop.Outlook. OlItemType.olMailItem)
.Subject = mailSubject
.To = mailTo
.CC = mailCC
.BCC = mailBCC
.Body = mailBody
If mailAttachment IsNot Nothing AndAlso mailAttachment.Length > 0 Then
If IO.File.Exists(mailAttachment) Then
Select Case mailMode
' Save the E-Mail Item in the Drafts Folder
' Send the E-Mail to the recipients.
' Open the E-Mail item so the user can send it or not.
Sample Code in VB.NET for reading the selected email item:
Public Sub ReadingMail
Dim OutlookApplication As New Microsoft.Office.Interop.Outlook.Application
Dim OutlookMail As Microsoft.Office.Interop.Outlook.MailItem
' Read the Current email item.
OutlookMail = OutlookApplication.Application.ActiveExplorer.Sele ction.Item(1)
' Get the subject of the current email item.
Dim lSubject As String = OutlookMail.Subject
' Save the current email item in a specific folder & name:
Me.myMailItem.SaveAs(lFileName, Microsoft.Office.Interop.Outlook.OlSaveAsType.olMS G)