How to send a letter to the admin about a new order?

How to configure and adapt Aimeos based shops as developer
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!
User avatar
DNK
Posts: 26
Joined: 27 Feb 2025, 10:50

How to send a letter to the admin about a new order?

Post by DNK » 04 Mar 2025, 05:07

What is the code in Aimeos for creating an order so that I can add a notification to the store administrator about a new order?

The solution with "bcc" is suitable, since I need a custom mail to the admin
Aimeos 2024.10.3 + Laravel 11, PHP 8.2, MySql8.0, Nginx, Ubuntu 22.04.5 LTS

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

Re: How to send a letter to the admin about a new order?

Post by aimeos » 05 Mar 2025, 09:02

Configure the Email service provider for all your delivery options:
https://aimeos.org/docs/latest/manual/services/#email

There are templates for the e-mails available you can overwrite in your own extension:
https://github.com/aimeos/aimeos-core/t ... r/delivery

Then, make sure you run the order/service/delivery job controller so the service provider is executed and the email sent:
Laravel: https://aimeos.org/docs/latest/laravel/ ... ery-minute
TYPO3: https://aimeos.org/docs/latest/typo3/setup/#cronjobs
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply