Problem with sending e-mail

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
ArthurHenrique
Posts: 18
Joined: 28 Jan 2021, 18:30

Problem with sending e-mail

Post by ArthurHenrique » 23 Jun 2021, 14:11

Hello, I need help to clarify the issue of sending e-mail to create a customer account, I made the following operation:

- Configured the folders .env, mail.php e shop.php.

- Configured cron jobs with the following command at server:

***** php /home3/user/public_html/myshop_test/myshop/artisan aimeos:jobs "order/email/delivery" "moveis"
***** php /home3/user/public_html/myshop_test/myshop/artisan aimeos:jobs "customer/email/account" "moveis"
***** php /home3/user/public_html/myshop_test/myshop/artisan aimeos:jobs "customer/email/watch" "moveis"

I'm receiving the following message at my host email:
"Executing the Aimeos jobs for "moveis" Content-type: text/html; charset=UTF-8"

Should I be doing something else? Because it's not working, the customers aren't receiving emails.
I'm a beginner at Laravel, my project its stopped at this issue.

Enviroment:
PHP = 7.4
Laravel = 6.0
Aimeos = 2020.10
Linux

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Problem with sending e-mail

Post by aimeos » 26 Jun 2021, 06:59

What happens if you execute

Code: Select all

php /home3/user/public_html/myshop_test/myshop/artisan aimeos:jobs "order/email/delivery" "moveis"
using SSH on you web server?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
ArthurHenrique
Posts: 18
Joined: 28 Jan 2021, 18:30

Re: Problem with sending e-mail

Post by ArthurHenrique » 28 Jun 2021, 19:17

When I execute this command at the SSH, I got the message "Executing the aimeos jobs for "moveis"". And I got the message "Executing the Aimeos jobs for "moveis" Content-type: text/html; charset=UTF-8" on my host email.
Attachments
email.jpg
email.jpg (34.42 KiB) Viewed 8451 times
aimeos.jpg
aimeos.jpg (35.4 KiB) Viewed 8453 times

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Problem with sending e-mail

Post by aimeos » 29 Jun 2021, 05:55

Executing the command via SSH looks fine (no errors). Don't know the reason why the cronjob is sending this e-mail but I'm sure it's not the result of executing the command via SSH (the cronjob is executed automatically every minute too).

What happens if you remove the "moveis" parameter? Do you have at least one order with "authorized" or "received" payment status?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
ArthurHenrique
Posts: 18
Joined: 28 Jan 2021, 18:30

Re: Problem with sending e-mail

Post by ArthurHenrique » 29 Jun 2021, 11:44

I don't said that I have cron jobs configured on my CPanel too, I think that the messages are result of them. Because, when I use the SSH nothing happens, just the messages "Executing the Aimeos jobs for "moveis" or "default". I have to say that I don't modified nothing at the jobs arquives, is it right? or should I have to modify something?

This images should help understand my problem.

Thank you an advance :)
Attachments
email.png
email.png (21.09 KiB) Viewed 8433 times
cpanel.png
cpanel.png (20.8 KiB) Viewed 8433 times
ssh.png
ssh.png (9.66 KiB) Viewed 8433 times

User avatar
ArthurHenrique
Posts: 18
Joined: 28 Jan 2021, 18:30

Re: Problem with sending e-mail

Post by ArthurHenrique » 05 Jul 2021, 13:42

I still need help to solve this problem, could someone help me?

Post Reply