Hi,
I've a problem with sending e-mail with InTheHand.WindowsMobile.PocketOutlook.OutlookSession, I can't send e-mail using configured account, the library use only default e-mail account (Posta Outlook) when I try to send it with my account.
If I use Microsoft.WindowsMobile.PocketOutlook it works fine, attached Here i send the sample code i've used
Dim sessione As New InTheHand.WindowsMobile.PocketOutlook.OutlookSession
'Dim sessione As New Microsoft.WindowsMobile.PocketOutlook.OutlookSession
Dim email As New InTheHand.WindowsMobile.PocketOutlook.EmailMessage
'Dim email As New Microsoft.WindowsMobile.PocketOutlook.EmailMessage
email.Subject = "Lat: " & latitudine & "|" & "Lon: " & longitudine & "|" & "Risp: " & risposta
email.BodyText = testo
email.To.Add(New InTheHand.WindowsMobile.PocketOutlook.Recipient(indirizzoemail))
'email.To.Add(New Microsoft.WindowsMobile.PocketOutlook.Recipient(indirizzoemail))
If Not IsNothing(emailagg) Then
If emailagg <> "" Then email.CC.Add(New InTheHand.WindowsMobile.PocketOutlook.Recipient(emailagg))
'If emailagg <> "" Then email.CC.Add(New Microsoft.WindowsMobile.PocketOutlook.Recipient(emailagg))
End If
'al momento non faccio la selezione dell'account ma lo setto io fisso (andrà gestita la possibilità di selezionare quello che si vuole utilizzare)
email.Send(sessione.EmailAccounts.Item(account))
'lacio il send - receive
InTheHand.WindowsMobile.PocketOutlook.MessagingApplication.Synchronize(sessione.EmailAccounts.Item(account))
'Microsoft.WindowsMobile.PocketOutlook.MessagingApplication.Synchronize(sessione.EmailAccounts.Item(account))
Please let me know something (sorry for my english)
I'm sorry... the problem it's only with the evaluation version 3.2 (I use it for another problem in changing Sms status) but the complete version is ok...