web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

SMTP email sending error when sending free text invoices in batch (Mailgun)

(1) ShareShare
ReportReport
Posted on by 11
Hi,
 
We are experiencing an issue when we send free text invoices in batch (around 300-400 in one go) and some of the emails fail to send with the below error:
 
/>>> Sending email message has failed (host: smtp.mailgun.org; port: 587; trusted connection: True). The SMTP server has unexpectedly disconnected.”
 
Does anyone know how to solve this? Could it be because of sending limits per minute? 
 
Thanks
I have the same question (0)
  • Suggested answer
    Anthony Blake Profile Picture
    3,061 Super User 2026 Season 1 on at
    This will be throttling/sending limits limits controlled by your provider (Mailgun?).
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,779 Super User 2026 Season 1 on at
    Hi,
     
    I think there are a limitation of Email.
    Try to contact the support of Mailgun
     
    Best regards,
    Mohamed Amine MAHMOUDI

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans