SQL DBmail taking ages to send emails

CaptainGiblets
CaptainGiblets used Ask the Experts™
on
We send around 300 emails out at 4pm every day however there is something i suspect on my exchange server that limits the amount SQL is allowed to send to it within a certain period.

I have set SQL to keep retying until the emails send but thats just a work around.

Is there a setting i can change on my exchange server to allow SQL to send more emails at once? We are using exchange 2016 with sql 2012.

Thanks in advance for any help.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
AmitIT Architect
Distinguished Expert 2017

Commented:
Any error you see?

Author

Commented:
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 3 (2016-09-21T16:57:11). Exception Message: Cannot send mails to mail server. (Service not available, closing transmission channel. The server response was: 4.4.2 Message submission rate for this client has exceeded the configured limit).
)

however if i run Get-ReceiveConnector | select identity,messageratelimit i get the attached.

My 2 sql connetors depeding on what server i point them to both have "unlimited"

message rate limit
AmitIT Architect
Distinguished Expert 2017

Commented:
How is CPU usage on Exchange server. Total how many servers you have?
Should you be charging more for IT Services?

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
2 exchange servers, there cpu usage is at around 5% on server db mail profile points to.
messageratelimit.png
AmitIT Architect
Distinguished Expert 2017

Commented:
How about mail flow for normal users? Do you see any delay. I suggest you to create separate relay connector for application mail flow. Then test again.

Author

Commented:
the delay is only for the SQL server.
IT Architect
Distinguished Expert 2017
Commented:
Create new relay connector and test it. Or you can enable pipe line tracing to troubleshoot this further. How to do it:
https://technet.microsoft.com/en-us/library/bb125018(v=exchg.150).aspx
AmitIT Architect
Distinguished Expert 2017

Commented:
Hi CaptainGiblets,

Did you created the relay connector, I suggested? Or issue still persist
AmitIT Architect
Distinguished Expert 2017

Commented:
Creating relay connector is best option.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial