Different email-from values

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!
heural
Posts: 85
Joined: 09 Jun 2022, 07:55

Different email-from values

Post by heural » 12 Mar 2025, 09:26

Hi Aimeos-Team,

we need different emails-from(-name) - values in the email-jobs.
e.g:

Code: Select all

controller/jobs/order/email/delivery/from-email
controller/jobs/order/email/delivery/from-name
controller/jobs/order/email/payment/from-email
controller/jobs/order/email/apyment/from-name
...
Is there a way to do this, and especially for multi-shop configuration (but this can be done via TYPO3/Typoscript config)?
And as an fallback, can be used the email from the site config?

As I can see there is only one value that is used from resource.php, and this is not nice for multishop environment

Code: Select all

   
    'email' => [
        'from-email' => contact@domain.net',
        'from-name' => 'Contact for domain.net'
    ]
Thanks a lot!
Thanks a lot!

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

Re: Different email-from values

Post by aimeos » 13 Mar 2025, 08:24

Currently, only one "From" address (from resource/email/from-email) is possible and you need to overwrites the "From" address in the send() method of each cronjob.

E-Mail addresses can be already site specific when you set the e-mail address in the Settings panel of the admin backend. You can make your e-mail addresses for each job controller site specific too if you add them in the config table of the site items in the Locale > Site panel.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

heural
Posts: 85
Joined: 09 Jun 2022, 07:55

Re: Different email-from values

Post by heural » 17 Mar 2025, 10:40

Thank you for these tips!
Thanks a lot!

Post Reply