We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

I am creating outlook pst file -It is storing message but in draft form and whenever I open this message- it is showing a line "This message has not been sent"

Please sir help me in this ..........

shiv.mymail@gmail.com

In this message I am not able to give send and receive time .Please tell me ,how will i give send and receive time<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Actually I have to open this message in window with (reply,forward,reply All option),sent time,receive time

I am giving my code..........

Dim app As New Microsoft.Office.Interop.Outlook.Application()

Dim a As Microsoft.Office.Interop.Outlook.MailItem = app.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem)

a = app.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem)

a.To = "mail@check.com"

a.CC = "checkmail@check.com"

a.Subject = "how are you ......"

a.SentOnBehalfOfName = "checkmailmailsystem@check.com"

a.HTMLBody = " Visual Basic .Net
Document for Visual Studio "

a.UnRead = True

a.Move(fol2)

Hi,


The above sample code seems to be using Outlook Interop dll. You may search for public forums to find solution for this. Here, we can offer you help in creating MSG files using Aspose.Network for .NET product. Sorry for the inconvenience.