Send test email / debug email not sent
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Send test email / debug email not sent
Hello,
I'm trying to get the confirmation e-mail sent after a purchase is completed but I did not succeed for the moment. Eveything works fine with the purchase, I get the message:
"Confirmation
Thank you for your order.
We received your payment and an e-mail with the order details will be sent to you within the next few minutes."
But the e-mail is never received.
What is the best way to debug an "email not sent" with Aimeos? Could I find an error logged somewhere?
I added the smtp details in the .env and mail.php and
in the shop.php config file :
Maybe I forgot something else?
What do you suggest?
Thank you very much !
I'm trying to get the confirmation e-mail sent after a purchase is completed but I did not succeed for the moment. Eveything works fine with the purchase, I get the message:
"Confirmation
Thank you for your order.
We received your payment and an e-mail with the order details will be sent to you within the next few minutes."
But the e-mail is never received.
What is the best way to debug an "email not sent" with Aimeos? Could I find an error logged somewhere?
I added the smtp details in the .env and mail.php and
Code: Select all
'email' => array(
'from-email' => 'test@test.com',
'from-name' => 'test',
),
Maybe I forgot something else?
What do you suggest?
Thank you very much !
Re: Send test email / debug email not sent
You are using Laravel? You have to set up the cronjobs, especially the "order/email/payment" job controller:
https://aimeos.org/docs/Laravel/Configure_cronjobs
https://aimeos.org/docs/Laravel/Configure_cronjobs
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)
Re: Send test email / debug email not sent
Hello,
Thank you very much for your answer.
I just enabled the cronjb with the artisan aimeos:jobs "order/email/payment " command (it wasn't) and I cleared the cache.
But I still did not receive any e-mails.
I guess I need to check :
- If I forgot something in the e-mail or payment config
- If the cronjobs are well processed (I don't know how)
- If an error occurs and is returned when sending an e-mail (I don't know how)
Thank you a lot in advance !
Thank you very much for your answer.
I just enabled the cronjb with the artisan aimeos:jobs "order/email/payment " command (it wasn't) and I cleared the cache.
But I still did not receive any e-mails.
I guess I need to check :
- If I forgot something in the e-mail or payment config
- If the cronjobs are well processed (I don't know how)
- If an error occurs and is returned when sending an e-mail (I don't know how)
Thank you a lot in advance !
Re: Send test email / debug email not sent
You should have a look into the mshop_order_status table. If there's a record for "email-sent" then the e-mail was at least handed over to the mail server.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)
Re: Send test email / debug email not sent
Thank you very much for your answer.
There is no record for "email-sent" in the database...
And I finally found an error logged: Error while trying to send payment e-mail for order ID "xx" and status "6": No value for key "summaryBasket" found.
There is no record for "email-sent" in the database...
And I finally found an error logged: Error while trying to send payment e-mail for order ID "xx" and status "6": No value for key "summaryBasket" found.
Re: Send test email / debug email not sent
Which Aimeos version are you using?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)
Re: Send test email / debug email not sent
Hello,
I'm using :
"laravel/framework": "5.5.*"
"aimeos/aimeos-laravel": "2018.01.1"
Thank you !
I'm using :
"laravel/framework": "5.5.*"
"aimeos/aimeos-laravel": "2018.01.1"
Thank you !
Re: Send test email / debug email not sent
The error doesn't occur in the standard setup. Did you overwrite the e-mail HTML client or the corresponding template?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)
Re: Send test email / debug email not sent
No, it's was a clean install... I only adapted it to work with Stripe... Like described in this post :
help-f15/stripe-payments-t1250.html#p5373
Maybe the "no value for summarybasket" problem is due to the fact i'm using "ai-payments" with Stripe for the checkout process?
Thank a lot for your help.
help-f15/stripe-payments-t1250.html#p5373
Maybe the "no value for summarybasket" problem is due to the fact i'm using "ai-payments" with Stripe for the checkout process?
Thank a lot for your help.
Re: Send test email / debug email not sent
Can you post the stack trace for the exception? Should be in the madmin_log table.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)