With the code below I can succesfully add a new event to the calendar with a sms reminder of 10 minutes.
But the problem is that it doesn't send me a sms notification 10 minutes prior to the event.
When I add the same event manual to the calendar using a browser then everything works just fine.
It currently looks like google is blocking sms notifications when you add them using the api and only allows them when you have add a event manually using the browser... Or I'm just doing something wrong here...
Is there someone here that also uses the google api for this? Or has some free time to try a few things?
Documentation google api:

Api download:

Code:
public void sendSMS(string p_UserName, string p_Password, string p_Message)
{
CalendarService service = new CalendarService(p_UserName);
service.setUserCredentials(p_UserName, p_Password);
EventEntry l_Message = new EventEntry();
l_Message.Title.Text = p_Message;
DateTime l_Start = DateTime.Now.AddMinutes(31);
DateTime l_End = DateTime.Now.AddMinutes(31);
l_End = l_End.AddHours(1);
When l_When = new When(l_Start, l_End);
l_Message.Times.Add(l_When);
Reminder l_Sms = new Reminder();
l_Sms.Minutes = 10;
l_Sms.Method = Reminder.ReminderMethod.sms;
l_Message.Reminders.Add(l_Sms);
Uri l_Uri = new Uri("http://www.google.com/calendar/feeds/default/private/full");
AtomEntry insertedEntry = service.Insert(l_Uri, l_Message);
}






