Hi,
I am Creating a new Mapitask with recurrence and sending it using the Aspose SMTP.
I am good to create and send email with the recurrence in case i set the End type as below
EndType = MapiCalendarRecurrenceEndType.NeverEnd,
But not able to send if i set it to as below after all code is being executed successfully.
EndType = MapiCalendarRecurrenceEndType.EndAfterDate,
OccurrenceCount = 10,
Below is the recurrence Sample Code,
// Set the daily recurrence
var rec = new MapiCalendarDailyRecurrencePattern
{
PatternType = MapiCalendarRecurrencePatternType.Day,
Period = 1,
WeekStartDay = DayOfWeek.Sunday,
EndType = MapiCalendarRecurrenceEndType.NeverEnd,
OccurrenceCount = 10,
};