Getting an error when running the customer/email/account scheduler task
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Getting an error when running the customer/email/account scheduler task
Hello,
I am getting this error: Uncaught TYPO3 Exception Aimeos\Base\Mail\Message\Typo3::from(): Argument #1 ($email) must be of type string, null given, called in /html/web/vendor/aimeos/ai-controller-jobs/src/Controller/Jobs/Mail.php on line 98
thrown in file /html/web/vendor/aimeos/ai-typo3/src/Base/Mail/Message/Typo3.php
in line 47 when running the job: customer/email/account
TYPO3 12.4.21
aimeos-typo3 24.7
I understood that it's trying to get the email from 'resource/email/from-email'. Where can I add this configuration? I added it in the scheduler like this:
plugin.tx_aimeos.settings {
client {
html {
resource {
email {
from-email = test-email@test-email.com
reply-email = test-email@test-email.com
bcc-email = test-email@test-email.com
}
}
}
}
}
But it throws the same error.
I am getting this error: Uncaught TYPO3 Exception Aimeos\Base\Mail\Message\Typo3::from(): Argument #1 ($email) must be of type string, null given, called in /html/web/vendor/aimeos/ai-controller-jobs/src/Controller/Jobs/Mail.php on line 98
thrown in file /html/web/vendor/aimeos/ai-typo3/src/Base/Mail/Message/Typo3.php
in line 47 when running the job: customer/email/account
TYPO3 12.4.21
aimeos-typo3 24.7
I understood that it's trying to get the email from 'resource/email/from-email'. Where can I add this configuration? I added it in the scheduler like this:
plugin.tx_aimeos.settings {
client {
html {
resource {
email {
from-email = test-email@test-email.com
reply-email = test-email@test-email.com
bcc-email = test-email@test-email.com
}
}
}
}
}
But it throws the same error.
Re: Getting an error when running the customer/email/account scheduler task
If you don't have a project specific Aimeos TYPO3 extension created and installed where you can add the e-mail address to the ./Resources/Private/Config/resource.php file, then add this to the TypoScript configuration field in your scheduler tasks:
Code: Select all
resource.email.from-email = test-email@test-email.com
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Getting an error when running the customer/email/account scheduler task
When I tried to add it to the configuration in scheduler task, I am getting this error: No resource configuration for "db" available
Last edited by agandhi on 21 Jan 2025, 11:05, edited 1 time in total.
Re: Getting an error when running the customer/email/account scheduler task
./Resources/Private/Config/resource.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Getting an error when running the customer/email/account scheduler task
When I tried to add it to the configuration in scheduler task, I am getting this error: No resource configuration for "db" available
Re: Getting an error when running the customer/email/account scheduler task
Adding it to resource.php did it. Thank you!
Re: Getting an error when running the customer/email/account scheduler task
Reminder: This must be added to a project specific Aimeos extension. If it's done in the ./vendor/aimeos/aimeos-typo3/ directory, it will be overwritten with the next update.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
