> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-doc-2312-standard-user-attributes.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?

> Resolve the SMTP service disconnected error when testing MoEngage email campaigns, typically caused by incorrect email connector credentials.

## Problem

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

SMTP service disconnected

<img alt="000.png" src="https://mintcdn.com/moengage-doc-2312-standard-user-attributes/aIDxo_nsCMfuJa4e/images/moengage_070322.png?fit=max&auto=format&n=aIDxo_nsCMfuJa4e&q=85&s=9ea87a8bb0c17b57859f2f4636e6e0eb" 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.
