G
Gian Paolo Costantino
Hi,
I tried to create an Appointment with some Recipients, then I'd like to send
the
meeting request to the Recipients, but nothing was sent.
This is the code I used:
using Outlook = Microsoft.WindowsMobile.PocketOutlook;
....
using (Outlook.OutlookSession osess = new Outlook.OutlookSession ())
{
Outlook.Appointment appt = new Outlook.Appointment ();
appt.Subject = "N2";
appt.Location = "B";
appt.Recipients.Add (new Outlook.Recipient (name, address));
appt.Start = DateTime.Now.AddHours (1);
appt.End = appt.Start.AddHours (1);
appt.Body = "C";
osess.Appointments.Items.Add (appt);
appt.Update ();
appt.Send ();
}
No email is sent and nothing appears in the "Outbox" folder.
I'm using a Windows Mobile Professional 6.1 device and CF 2.0
Thank you in advance
I tried to create an Appointment with some Recipients, then I'd like to send
the
meeting request to the Recipients, but nothing was sent.
This is the code I used:
using Outlook = Microsoft.WindowsMobile.PocketOutlook;
....
using (Outlook.OutlookSession osess = new Outlook.OutlookSession ())
{
Outlook.Appointment appt = new Outlook.Appointment ();
appt.Subject = "N2";
appt.Location = "B";
appt.Recipients.Add (new Outlook.Recipient (name, address));
appt.Start = DateTime.Now.AddHours (1);
appt.End = appt.Start.AddHours (1);
appt.Body = "C";
osess.Appointments.Items.Add (appt);
appt.Update ();
appt.Send ();
}
No email is sent and nothing appears in the "Outbox" folder.
I'm using a Windows Mobile Professional 6.1 device and CF 2.0
Thank you in advance