Different payment mails for customer (external) and interal reciepients

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!
columbo
Advanced
Posts: 125
Joined: 09 Oct 2019, 09:42

Different payment mails for customer (external) and interal reciepients

Post by columbo » 20 Feb 2024, 10:18

Hi,

Is there already a way to send two payment emails with different layouts?
  1. for the customer, nicely styled, CI branded layout (as confirmation)
  2. for company internal use, process-optimised (eg. larger SKU number, no colors, no images etc.)
if not already possible:
What are your recommendations for implementation?
Overwrite in ai-controller-jobs/src/Controller/Jobs/Order/Email/Payment/Standard.php ?

Thank you!


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

Re: Different payment mails for customer (external) and interal reciepients

Post by aimeos » 21 Feb 2024, 11:05

Just use the Email delivery service provider for internal e-mails (you need to use it as base for all your delivery options):
https://github.com/aimeos/aimeos-core/b ... /Email.php

You can adapt the added data according to your needs by overwriting its template.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply