# Mautic says 'emails sent', but nothing has actually gone out

**URL:** <https://forum.mautic.org/t/mautic-says-emails-sent-but-nothing-has-actually-gone-out/27811>\
**Category:** Product Support\
**Created:** [April 24, 2023, 9:00pm UTC](https://forum.mautic.org/t/mautic-says-emails-sent-but-nothing-has-actually-gone-out/27811 "2023-04-24T21:00:50Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![modifiedcontent](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/modifiedcontent/32/511_2.png) [@modifiedcontent](https://forum.mautic.org/u/modifiedcontent)\
**Post date:** [May 13, 2023, 1:57pm UTC](https://forum.mautic.org/t/mautic-says-emails-sent-but-nothing-has-actually-gone-out/27811/7 "2023-05-13T13:57:00Z")

</div>

Working on this again this weekend, trying to restart my business from another stand-still. Sent out another mailing to a small test segment of other email addresses I own - gmail etc. Nothing arrives. No errors in logs.

Trying to force sending from command line with `php bin/console mautic:emails:send` gives this error:

```auto
In ProcessEmailQueueCommand.php line 141:

  rename(): supplied resource is not a valid Stream-Context resource

mautic:emails:send [--message-limit [MESSAGE-LIMIT]] [--time-limit [TIME-LIMIT]] [--do-not-clear] [--recover-timeout [RECOVER-TIMEOUT]] [--clear-timeout [CLEAR-TIMEOUT]] [--lock-name [LOCK-NAME]] [--bypass-locking] [-t|--timeout TIMEOUT] [-x|--lock_mode LOCK_MODE] [-f|--force] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>

```

What is this rename() function? Where is it used in the process? How can I find out?

When I use `ls | wc` as suggested by @joeyk I get this as response:

```auto
26 26 309

```

What does that mean? If 26 or 309 is the number of emails in the pool/queue (?) that is way more than I would expect.

With `php bin/console mautic:messages:send` I get this response:

```auto
Processing message queue
Messages sent: 0

```

[The rename() error is also mentioned here](https://github.com/mautic/mautic/issues/10644) and [here](https://forum.mautic.org/t/mautic-don-t-send-emails/25490/8) - will research there further…

---

_[View the full topic](https://forum.mautic.org/t/mautic-says-emails-sent-but-nothing-has-actually-gone-out/27811)._
