> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-user-guide.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Why Does an SMTP Service Disconnect Error Occur When Testing an Email Campaign?

## Problem

While testing an Email campaign, the following error message occurs:

SMTP service disconnected

<img alt="000.png" src="https://mintcdn.com/moengage-user-guide/21Ihfdzne33T-IUl/images/moengage_070322.png?fit=max&auto=format&n=21Ihfdzne33T-IUl&q=85&s=8f635da4993c25c6cfc1655248c7a758" width="988" height="536" data-path="images/moengage_070322.png" />

## Cause

Typically, this error occurs due to incorrect credentials.

## Solution

* The error originates from the SMTP connector.
* Verify whether MoEngage manages the Email connector (SendGrid) or if another provider is used.
