Quantcast
Channel: Exchange Server Development forum
Viewing all 7132 articles
Browse latest View live

when replying to a message that is not in the inbox save the reply in the same folder doesn't work with Exchange Personal Archive items

$
0
0

when replying to a message that is not in the inbox save the reply in the same folder doesn't work with Exchange Personal Archive items,

Any suggestions?

Thanks


SMF


error when creating the iis virtual directory EWS

$
0
0

hi

When trying to delete mail in OWA I get the error 'The action you tried to perform couldn't be completed because there's a configuration problem on the server. If the problem continues, contact your helpdesk.'

i Removed  WebServicesVirtualDirectory with following Cmdlet command :

Remove-WebServicesVirtualDirectory -Identity "<server name>\EWS (Default Web Site)"

when i create WebServicesVirtualDirectory with following Cmdlet command :

New-WebServicesVirtualDirectory -WebSiteName 'Default Web Site' , i have following error : 

"An error occurred while creating the IIS virtual directory 'IIS://SVR2.terotek.co.nz/W3SVC/1/ROOT/EWS' on 'SVR2'.
    + CategoryInfo          : InvalidOperation: (SVR2\EWS (Default Web Site):ADObjectId) [New-WebServicesVirtualDirectory], InvalidOperationException
    + FullyQualifiedErrorId : D8706417,Microsoft.Exchange.Management.SystemConfigurationTasks.NewWebServicesVirtualDirectory"

EWS is now not Creating.

Any help greatly appreciated.


Check out Exchange Server Recovery Software to repair your damaged exchange database

$
0
0
If you have corruption issues with your Exchange Server, then Kernel for Exchange Server Recovery Software is here to fix corrupted, or inaccessible Exchange Server database. It is a professional application which can immediately repair and convert damaged Exchange EDB files to usable Outlook PST file swiftly. To know more visit: http://www.exchange.diskdatarecovery.net

Install Exchange server 2010 in Single forest Multiple AD domain Scenario

$
0
0

Hello Folks,

I am trying to install a new exchange 2010 server in an enviroment which never had exchange.

Below is the env details

1 Forest

3 AD domains

Coustmer's requirement is that he wants to install exchange in only domain and other domain will not have exchange server the domain A which has server install should host the exchange mailbox's for other 2 domains and also capable enough to handle the mailflow of each domain with diffrent SMTP domain. Have done research but havent got the exact scenario.

Now i am confused on how to start with this project any feedback inputs would be of great help to me.


BR/Deepak


To get Replied Text from an Email Reply using Exchange Transport SDK?

$
0
0

Hi,

Is there a way to get just the replied text from an Email Reply using Exchange Transport Agent SDK?

We are building a Transport agent, where we just need the text of replied email, not the text of email replied to, which is normally attached with reply, below the replied email text.

Thanks in anticipation.


Regards, David Johnson

Transport agent to process attachments for internal recipients only Exchange 2007

$
0
0

I have a requirement to perform message processing for internal recipients only for messages sent from Exchange 2007 to mixed recipient types (internal and external).

So if my internal domain is called local.com and a user sends a message to user@local.com and user@external.com, I want to have my transport agent only process the message body and attachments for the internal recipient. The message to the external recipient should not be touched.

1) Which event - OnRoutedMessage or OnCategorizedMessage - would be best for catching the message after the Hub Transport server has forked the message for the internal and external recipients? I'm looking at the recipients collection to determine to whom the message has been addressed.

2) Would I need to examine the X- headers or the DeliveryMethod property to determine if the message was being routed back to the user mailbox (in which case I would process it)?

grateful for any ideas,

Charles

Using EWS SOAP access from C++ or PHP

$
0
0

I have an application that connects to exchange servers using the SOAP based EWS API. It's implemented in C++. It's running on several platforms, so I can not use the managed EWS classes. I have to use the SOAP directly. This has worked well for almost all Exchange servers I have encountered so far.

I'm using https://server/EWS/Exchange.asmx as the URL where I send the SOAP requests.

The problem is that I've hit an Exchange which keeps sending a Location: header back. The redirect is to a web form, which obviously doesn't make sense for an application. The redirect URL is something like https://host/CookieAuth.dll?GetLogon?curl=Z2FEWSZ2FExchange.asmx&reason=0&formdir=3

I assume this is a setup problem on the server side. But what should I tell them to do with their installation? I would like to be able to help them change the configuration to support my application again.

If there is some way I can bypass the authentication website for the API code, that would be even better. I want to use the normal authentication system for it.

Thank you,

Bo Thorsen.

Exchange2010 installation issue

$
0
0

Dear Team,

when am installing the Exchange 2010  on windows server 2008R2 , am getting the below error , please look in to the below screenshot for the reference of the error

 

please advice on this issue ,, how we can suppress this error 


Activesync error code

$
0
0

Is there any ActiveSync error code, that if used with 'Sync' command response will let the client

know, that Sync operation failed without changing the sync key.

Symantec email proxy - Your email was unable to be sent

$
0
0

Hi,

In my POP3 account (exchange 2010 server) i'm facing problem while sending mail

Check the below error snapshot

 

Thanks

CAS 2010 edition

$
0
0

Hi,

I would like to know the limitness in Exchange 2010 std for CAS role. Is it good to go with Std edition for Exchange 2010 CAS/HT role?

Thanks

Rajneesh


Rajneesh Kumar MCITP - SA, MCSE, CNA

EWS 1.2 and Exchange 2010 - Any way to keep CSS from getting mulched in Appointment body?

$
0
0

I'm working on a project that integrates with Exchange 2010 via the EWS Managed API 1.2. As part of this project, we create Appointments and send notifications. Pretty basic. The thing is, we have a body with some HTML in it. It's nothing elaborate, mostly just tables, fonts, padding, etc, but it uses a style tag in the header. Unfortunately, Exchange completely discards that style tag, which completely destroys the formatting. In experimenting, we've found that even using a style="..." inside the element tag itself isn't always reliable. Certain styles will be discarded, others will be changed, and sometimes they'll come through almost the way we created them.

We've had to work with Outlook HTML formatting in the past and tailored the CSS header to work with it. Now it seems we have to work with an even more limited subset of CSS. Is there any way to keep Exchange from throwing out the styles? If not, is there at least documentation showing what CSS styles will work in Exchange and how?


Extend the functionality of appointment response event

$
0
0

Hi,

I want to execute custom functionality on accepting/rejecting an appointment in exchange server. Is there a way to do this with the existing API?

Thanks,

Hide the attendees in appointments like bcc does and performance implications if sent to million users

$
0
0

Hi,

I have a requirement of creating appointment with response requested flag for multiple users. User count may be sometimes in millions.

My question is:

  1. What is the limit of recipients count? Is there any performance implications?
  2. The recipients should not be provided with other recipients details like BCC functionality. Is there a way to do so?

I have an alternative way to achieve same: Sending individual appointments. And each appointment will have extended metadata to identify the appointments are for one particular purpose. What is the impact of going ahead with this approach in terms of performance?

Thanks,

Nullpointer Exception while downloading ItemAttachment

$
0
0

Hi,

Can someone help?

I am getting a nullpointer exception when i am loading the itemattachment.

if(atch instanceof ItemAttachment){

b = (ItemAttachment)atch;

PropertySet setprop = new PropertySet();
setprop.add(EmailMessageSchema.Attachments);
setprop.add(EmailMessageSchema.MimeContent);
setprop.add(ItemSchema.Attachments);
setprop.add(ItemSchema.MimeContent);

b.load(setprop);   ---->nullpointer exception here

}

error details:

java.lang.NullPointerException
at org.apache.commons.httpclient.HttpMethodBase.getStatusCode(HttpMethodBase.java:566)
at microsoft.exchange.webservices.data.HttpClientWebRequest.getResponseCode(HttpClientWebRequest.java:313)
at microsoft.exchange.webservices.data.ServiceRequestBase.validateAndEmitRequest(ServiceRequestBase.java:733)
at microsoft.exchange.webservices.data.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:36)
at microsoft.exchange.webservices.data.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:142)
at microsoft.exchange.webservices.data.ExchangeService.internalGetAttachments(ExchangeService.java:1590)
at microsoft.exchange.webservices.data.ExchangeService.getAttachment(ExchangeService.java:1640)
at microsoft.exchange.webservices.data.Attachment.internalLoad(Attachment.java:381)
at microsoft.exchange.webservices.data.ItemAttachment.load(ItemAttachment.java:191)


Mail Apps for Outlook for Mac

$
0
0

Hi,

The new mail apps (MSDN) of Exchange 2013 (e.g. Bing, etc.) do not seem to work in Outlook for Mac OS. Are there any plans to support the mail apps in Outlook for Mac?

Thanks!

Niels


EWS - How to identify if a mail is new or response(RE/FW) of existing mail?

$
0
0

I am developing an app using EWS and the requirement is to categorize whether it is a new mail or reply to existing one. It was pretty easy in outlook as we have conversation index and the length of it tells you that. I am struggling with EWS conversation index property in message as i honestly don't know how to read it or combine it. I can't use subject line prefix as it is not right approach i believe. can someone please help?


Gaurav


C# UDP broadcasting communication stopped to work

$
0
0

Hello all!

I build a networked application that discovers another components using UDP broadcast messages. It worked fine for a long time, but when I tried to run it again a few days ago it stopped to work only in my machine. The firewall and the antivirus are disabled, but the problem persists. These packets arrive to machine, confirmed through sniffer, but application does not receive nothing. I built a small application to isolate and it confirmed that the problem is in only my machine, all others work fine:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading;

namespace UDPTester
{
  class Program
  {
    private static string PARAMETER_SERVER = "server";
    private static string PARAMETER_CLIENT = "client";
    private static int PORT = 1555;

    static void Main(string[] args)
    {
      if (CheckParameter(args, PARAMETER_SERVER))
      {
        Server();
      }
      else if (CheckParameter(args, PARAMETER_CLIENT))
      {
        Client();
      }
      else
      {
        Console.WriteLine("Usage:");
        Console.WriteLine(" UDPTester.exe [-server|-client]");
      }
    }

    static bool CheckParameter(string[] args, string parameter)
    {
      foreach (string arg in args)
      {
        if (arg.ToLower().Equals("-"+parameter))
          return true;
        else if (arg.ToLower().Equals("/"+parameter))
          return true;
      }
      return false;
    }

    static void Server()
    {
      IPAddress[] LocalAddresses = Dns.GetHostEntry(Dns.GetHostName()).AddressList;
      UdpClient UDPSocket = new UdpClient(new IPEndPoint(IPAddress.Any, PORT));
      UDPSocket.Client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 1);

      Console.WriteLine("Listening to port " + PORT);

      byte[] ReceivedData;
      IPEndPoint Source = null;
      while (true)
      {
        try
        {
          ReceivedData = UDPSocket.Receive(ref Source);

          Console.Write("*");
        }
        catch (Exception)
        {
          continue;
        }
      }
    }

    static void Client()
    {
      IPAddress[] LocalAddresses = Dns.GetHostEntry(Dns.GetHostName()).AddressList;
      UdpClient UDPSocket = new UdpClient(new IPEndPoint(IPAddress.Any, PORT));
      UDPSocket.Client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 1);

      Console.WriteLine("Sending to port " + PORT);

      byte[] Message = new byte[2];
      Message[0] = (byte)1;
      Message[1] = (byte)0;

      IPEndPoint BroadcastEndPoint = new IPEndPoint(IPAddress.Broadcast, PORT);

      while (true)
      {
        UDPSocket.Send(Message, Message.Length, BroadcastEndPoint);
        Console.Write("+");

        Thread.Sleep(500);
      }
    }
  }
}

I dont know if any configuration or installed program changed this behaviour.

Someone could help me?

Thanks!

EWS Managed API - The request failed. The remote server returned an error: (401) Unauthorized for one logon id

$
0
0

Hi all,

I recently try to use EWS Managed API to access exchange email account from two LAN ID

My scenario is that the two LAN IDs (let's say ID_A, ID_B) can access the email inbox, I proved

this by using outlook accessing the email account (It prompts me to enter LAN ID and Password)

Then I use the following codes to see if I can use EWS Managed API with windows authentication to access the email inbox

ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2007_SP1);
service.TraceEnabled = false;
Console.Out.WriteLine("Try using windows authentication!");
service.Credentials = new WebCredentials(CredentialCache.DefaultNetworkCredentials);
service.Url = new Uri("https://xxxhost/ews/exchange.asmx");
Console.Out.WriteLine("Connected to Exchange!");
FindItemsResults<Item> findResults = service.FindItems(new FolderId(WellKnownFolderName.Inbox, new Mailbox("HK.XX@xxxhost.com")), new ItemView(100));

With ID_A logon, the C# program can access the email inbox with windows authentication and print out the email subjects

But Wth ID_B logon, the C# program returns the following error:

Exception : The request failed. The remote server returned an error: (401) Unauthorized.

I really don't get it from one account can work but another is failed to work.

Both accounts should have access read right to the email account.

Would some experts here help me on this issue?

Thanks for your kind attention,

RayLee

Error Message

$
0
0

During a clean install of Exchange 2007 I keep getting:

The Exchange organization does not support this version of Exchange Server.

Not sure how to fix or where to start with this. I am trying to install on Server 2008 R2. Any help would be appreciated.

Viewing all 7132 articles
Browse latest View live




Latest Images