Monday, September 12, 2016

Exchange Connectors to send and receive 30MB emails

Exchange server 2010/2013/2016 by default has a limit of 10MB to send and receive emails. Now how to expand those limits to today's requirements?.

1. Open you Windows powershell console in your exchange server

Open a Powershell for exchange:

 

 

2. Run this commands for the Receiving Connectors

#Get the actual MaxMessageSize
Get-ReceiveConnector | Select Identity,Bindings,MaxMessageSize
#Modify them all at once
Get-ReceiveConnector | Set-ReceiveConnector -MaxMessageSize 30MB

By doing this you will have expanded all receive connectors to receive up to 30MB emails, you can verify that using the 1st command again:

#Get the actual MaxMessageSize
Get-ReceiveConnector | Select Identity,Bindings,MaxMessageSize
In this case, the client has configured 100MB instead of 30MB.
SideNote: It's important to be aware of a 100MB to send and receive files will literally EAT all your free space in the database and hard drive in your server, beside of all mailboxes will grow exponentially and will make it difficult and really expensive to migrate. Please use other technologies to move big size files, like Onedrive or Onenote, and just share a "Read-Only" link to your client by email.

 

3. Run this commands for the Sending Connectors

#Get the actual MaxMessageSize
Get-SendConnector | Select Identity,Bindings,MaxMessageSize
#Modify them all at once
Get-SendConnector | Set-SendConnector -MaxMessageSize 30MB

 

By doing this, you will have modified the send connectors to send emails up to 30MB.

 

4. Set the transport configuration to send up to 30MB

This can be done in one step:
#Get the actual MaxMessageSize in the transportconfiguration
Get-TransportConfig | select MaxSendSize,MaxReceiveSize
#Modify it
Set-TransportConfig -MaxSendSize 30MB -MaxReceiveSize 30MB
#verify it
Get-TransportConfig | select MaxSendSize,MaxReceiveSize

 

And that's it!, thank you for reading

Please consider to donate and thank you very much for reading this.

No comments:

Post a Comment