---
title: "Troubleshooting an error related to Connection to \"process/usr/sbin/sendmail -bs\" has been closed unexpectedly."
date: "2025-03-19T20:33:35+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/93996-troubleshooting-error-related-connection-processusrsbinsendmail-bs-has-been-closed-unexpectedly"
id: "be44e62f-3310-45b5-8719-8678707e7165"
---

  
If you encounter the following error after updating from the Swiftmailer module to the Symfony module:

    Connection to “process/usr/sbin/sendmail -bs” has been closed unexpectedly. 

![error](https://acquia.widen.net/content/7053cf63-3b46-47a8-be1c-38fa76164111/web/ka0Pb000000Bffl00N6g00000VCdgi0EM6g000005MoNI.png)

This issue has also been reported on the [drupal.org](http://drupal.org) community website: [https://www.drupal.org/project/symfony\_mailer/issues/3343418](https://www.drupal.org/project/symfony_mailer/issues/3343418)  
  
**RESOLUTION**  
Follow the instructions in this article: [Sendmail Settings for Drupal Symfony Mailer and Drupal Symfony Mailer Lite](https://acquia.my.site.com/s/article/Sendmail-Settings-for-Symfony-Mailer-and-Symfony-Mailer-Lite).