none
OUT OF OFFICE cant set the reply when the OOF state is scheduled for future RRS feed

  • Question

  • Hi,

    Iam setting the out of office programatically using EWS.dll.

    when i set it by using today's date it is setiing the out of office Reply.

    If i set it for the  future time of today's date it is not enabled in the time I set .Please guide me on it.

     



         
         

          
            Console.WriteLine("OOF State: " + oof.State.ToString)
          
            Console.WriteLine("OOF starttime: " + oof.Duration.StartTime.ToString)
            Console.WriteLine("OOF Endtime: " + oof.Duration.EndTime.ToString)
            Console.WriteLine("OOF ExternalAudience: " + oof.ExternalAudience.ToString) 'All,Known,None
            Console.WriteLine("OOF ExternalReply: " + oof.InternalReply.Message)
            Console.WriteLine("OOF InternalReply: " + oof.ExternalReply.Message)

          


    I have used the following program and i set it with start date,Time and End date,time .

    OOF State: Scheduled
    OOF starttime: 28/07/2011 10:15:00 AM
    OOF Endtime: 28/07/2011 10:20:00 AM
    OOF ExternalAudience: All
    OOF ExternalReply: Iam out of office. Please contact me at this number:
    OOF InternalReply: Iam out of office.

     


    Thankyou

    Thursday, July 28, 2011 9:01 AM

All replies

  • Hi,

    I will tell you my problem clearly.For example my current Date and time is 28/07/2011 10:00:00 AM

    If i schedule my out of office for the Future time say 10:15 like below.

    And if i check the OOF status in outlook after 10:15 it is not set as OUT OF OFFICE

    But if i set the past time then only it is working.Please guide me to solve my problem .

    OOF State: Scheduled
    OOF starttime: 28/07/2011 10:15:00 AM
    OOF Endtime: 28/07/2011 10:20:00 AM
    OOF ExternalAudience: All
    OOF ExternalReply: Iam out of office. Please contact me at this number:
    OOF InternalReply: Iam out of office.


    Thankyou
    Thursday, July 28, 2011 12:39 PM
  • Hi Benjamin,

    What happened if you choose 10:15:00 AM to 03:00:00 PM ??

    Thanks

     


    Mihir Nayak
    Thursday, July 28, 2011 1:40 PM
  • I set the following  time and Date.

      Starttime:28/07/2011 7:43:00 PM
      Endtime: 30/07/2011 7:50:00 AM

    And i get the following output through GetUserOofSettings functions

    still nobody has get out of office message in my office.Please help me on it Mr Mihir

    OOF State: Scheduled
    OOF starttime: 28/07/2011 7:43:00 PM
    OOF Endtime: 30/07/2011 7:50:00 AM
    OOF ExternalAudience: All
    OOF ExternalReply: Iam out of office. Please contact me at this number:
    OOF InternalReply: Iam out of office.

    Also could you check my code on the top?

     


    Thankyou

    Thursday, July 28, 2011 2:21 PM
  • Also please clarify me should i have to provide credentials for my application such as username ,password,Domain.
    Thankyou

    Thursday, July 28, 2011 5:38 PM
  • D you have anyforwarding enabled for your mailbox? If any mailforwarding is enabled on your mailbox then you must have mark a check on option "Deliver message on both forwarding address and mailbox"

    Could you please also verify with OWA as well and let me know ?

     No credential is required if you are using your mailbox.

    Thanks


    Mihir Nayak
    Thursday, July 28, 2011 6:52 PM