ok, i have installed the latest version, but it's always the same:
sometime the is send, sometime not, but everytimes there is a new mail in the drafts folder, without subject and bodytext.
Imports InTheHand.WindowsMobile.PocketOutlook
Public Class tMailIt
Private caption As String
Private body As String
Private mail As String
Public Property beteff() As String
Get
Return caption
End Get
Set(ByVal Value As String)
caption = Value
End Set
End Property
Public Property bodyText() As String
Get
Return body
End Get
Set(ByVal Value As String)
body = Value
End Set
End Property
Public Property empfaenger() As String
Get
Return mail
End Get
Set(ByVal Value As String)
mail = Value
End Set
End Property
Public Sub send()
Dim os As New OutlookSession
Dim em As New EmailMessage
em.Subject = caption
em.BodyText = body
em.To.Add(New Recipient(mail))
em.Send(os.EmailAccounts(0))
Application.DoEvents()
MessagingApplication.Synchronize("ActiveSync")
Application.DoEvents()
os.Dispose()
End Sub
maybe you can see what's wrong ;)
hibbert.de