Question

I need to setup a pickup directory in my Office 365 account. I am sending emails to client and getting this error:

Service not available, closing transmission channel

The server response was:

4.4.2 Message submission rate for this client has exceeded the configured limit**".

After search found Pickup directory solution from here.

Anyone knows how to setup pickup directory in office 365?

Was it helpful?

Solution

If you were using Exchange Server, you would use the following PowerShell cmdlet:

Set-TransportService <ServerIdentity> `
    -PickupDirectoryPath <LocalFilePath> `
    -PickupDirectoryMaxHeaderSize <Size>  `
    -PickupDirectoryMaxRecipientsPerMessage <Integer> `
    -PickupDirectoryMaxMessagesPerMinute <Integer>

However, since you mention Office 365, I assume you're using Exchange Online as your SMTP server. If this is the case, then you can't use the Pickup Directory solution, as this is not currently available in Exchange Online. (And even if the cmdlet were available, you wouldn't have access to a folder on the Exchange server itself.)

What you need to do is to throttle your application so that it doesn't attempt to send that many emails in a given amount of time. The current limit for Office 365 is 30 messages per minute (one every two seconds).

More information:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top