# Missing Mailpit

**URL:** <https://community.localwp.com/t/missing-mailpit/41815>\
**Category:** Support\
**Tags:** windows\
**Created:** [March 11, 2024, 2:58pm UTC](https://community.localwp.com/t/missing-mailpit/41815 "2024-03-11T14:58:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [March 12, 2024, 1:39pm UTC](https://community.localwp.com/t/missing-mailpit/41815/4 "2024-03-12T13:39:54Z")

</div>

Thank you for the logs, @LizW!

It looks like Local can’t start Mailpit (the service that captures WordPress email for you) because a file Local needs is missing:

```txt
file does not exist: %%userDataPath%%\\lightning-services\\mailpit-1.12.1+0\\lib\\main.js"

```

Local normally copies these files for you when it first starts. You mention that you’re using antivirus software, but that you’ve disabled it. It’s worth checking:

- That you restarted Local after disabling antivirus software. (Local only writes the above file when it first launches.)
- That there’s no other security software running that might prevent Local from writing files. For example, here’s [how to configure software like Kapersky Total Security](https://community.localwp.com/t/help-im-running-into-an-eperm-error-with-the-hosts-file-on-windows/3508#h-2-anti-virusinternet-security-3) to allow Local to run unrestricted. Changes you make will require a restart of Local.

If that doesn’t help, you can try forcing Local to recreate the Mailpit service files like this:

1. Stop any running sites.
2. Quit Local.
3. Open the Windows File Explorer.
4. Browse to This PC → [your hard drive] → Users → [your username] → AppData → Roaming → Local → lightning-services.
5. Delete the folder named ‘mailpit-1.12.1+0’.
6. Make sure antivirus or security software is either disabled or allowing Local to run unrestricted.
7. Start Local.

Local should recreate the folder named ‘mailpit-1.12.1+0’ at This PC → [your hard drive] → Users → [your username] → AppData → Roaming → Local → lightning-services.

You should then be able to start your site.

If you don’t see that `mailpit-1.12.1+0` folder after starting Local, it can mean something prevented Local from writing to the directory. It would be worth checking if you have anything else installed that could do this.

---

_[View the full topic](https://community.localwp.com/t/missing-mailpit/41815)._
