Mautic Community Forums

The command "console mautic:emails:send" has problem

Hi,

After I run the command console mautic:emails:send, there are no message files in var/spool, however, I did not found mail in inbox.
When I chose “send immediately”, I received message.

How to fix this issue.

before you run the send command do you see your mails in /var/spool ?

Have you checked on your ESP site in activity logs ?

Yes, I did, and no errors in log file.

Can you plz answer this:

before you run the send command do you see your mails in /var/spool ?

Yes, I did

But now, “send immediately” does not work too.
However, I successfully sent emails by using python code.

Hi,
Can you plz confirm:

BEFORE running mautic:emails:send, there were emails in the spool.
AFTER running mautic:emails:send there were no emails in the spool.

before run the command, there were 3278 .message files in var/spool.
after, there was no emails in this directory.

I think it’s safe to say, that the command sent out the emails.
By sending out I don’t mean, that successfully sent out, but they got processed and disappeared.
It means, that you successfully ran the command.
Now the question is where did 3278 emails go?

What do you use as smtp?

I don’t know where they go.
Yes, I use smtp.
In contact page, I sent immediately then I saw a message: contact page sent to my@email.com, but i did not receive this email.
But I successfully sent emails by using python with smtplib, using same config in “Email Settings” page.