# 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:** 5

<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:** [April 25, 2023, 8:10am UTC](https://forum.mautic.org/t/mautic-says-emails-sent-but-nothing-has-actually-gone-out/27811/5 "2023-04-25T08:10:23Z")

</div>

Thank you @joeyk !

This is an error that shows up in logs when I try to force send via the command line:

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

[Someone here](https://forum.mautic.org/t/mautic-don-t-send-emails/25490) mentions the same error. I’ll look into this further later…

The initial sending attempt produces errors in logs [similar to these](https://www.hostpapa.com/knowledgebase/error-503-valid-rcpt-command-must-precede-data-outlook/) - Error 503: Valid RCPT command must precede DATA - but I’m confused if that applies to the recipient or my server. I have never had problems with SMTP authentication before and haven’t changed any settings.

Initial send attempt error in logs:

[2023-04-24 22:25:23] console.CRITICAL: Error thrown while running command “mautic:emails:send”. Message: "Expected response code 354 but got code “503”, with message "503-All RCPT commands were rejected with this error: 503-The mail server could not deliver mail to [jane.doe@recipient.co.uk](mailto:jane.doe@recipient.co.uk). 503-The account or domain may not exist, they may be blacklisted, or missing 503-the proper dns entries. 503 Valid RCPT command must precede DATA " Log data: \>\> . \<\< 250 OK id=1pr4cd-00043a-1E \>\> MAIL FROM:[mod@mydomainname.com](mailto:mod@mydomainname.com) \>\> RCPT TO:[another.recipient@website.org.uk](mailto:another.recipient@website.org.uk) \>\> DATA \<\< 250 OK \<\< 250 Accepted \<\< 354 Enter message, ending with “.” on a line by itself \>\> . \<\< 250 OK id=1pr4cd-00043a-23 \>\> … etc.

---

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