# PHPMailer does not work with LocalWP

**URL:** <https://community.localwp.com/t/phpmailer-does-not-work-with-localwp/30389>\
**Category:** Support\
**Tags:** email\
**Created:** [February 21, 2022, 8:58am UTC](https://community.localwp.com/t/phpmailer-does-not-work-with-localwp/30389 "2022-02-21T08:58:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![8a0syf](https://avatars.discourse-cdn.com/v4/letter/8/50afbb/32.png) [@8a0syf](https://community.localwp.com/u/8a0syf)\
**Post date:** [February 21, 2022, 8:58am UTC](https://community.localwp.com/t/phpmailer-does-not-work-with-localwp/30389/1 "2022-02-21T08:58:40Z")

</div>

### Issue Summary

I can not send emails anymore, after switching from XAMPP (Windows) to LocalWP (macOS arm64).

I have been using XAMPP for years now and did the following:

- Installed PHPMailer via Composer

- Configured PHPMailer with the following settings

#### Troubleshooting Questions

- Does this happen for all sites in Local, or just one in particular?  
All sites

- Are you able to create a new, plain WordPress site in Local and access it in a Browser?  
Yes

#### Replication

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

#### System Details

- Which version of Local is being used?

- What Operating System (OS) and OS version is being used?

macOS 12.2.1 M1 CPU

- Attach the Local Log. See this Help Doc for instructions on how to do so:
  - Retrieving Local’s Log

### Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [May 22, 2022, 8:59am UTC](https://community.localwp.com/t/phpmailer-does-not-work-with-localwp/30389/2 "2022-05-22T08:59:03Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
