Email sending cron job fails

Questions around the TYPO3 integration and plugins
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!
tonyl09
Posts: 8
Joined: 01 Jan 1970, 00:00

Email sending cron job fails

Post by tonyl09 » 13 Dec 2016, 16:06

Hello,

When the cron job to send emails is executed manually we get the error:
Execution of task "Aimeos Shop e-mail scheduler (aimeos)" failed with the following message: Address in mailbox given [] does not comply with RFC 2822, 3.6.2.

The Typoscript configuration for the cron job includes:
plugin.tx_aimeos.settings.client.html.email.bcc-email = MyEmail@MySite.com

TYPO3 CMS 6.2.17
aimeos 16.4.3
Linux
PHP version: 5.6.27

Any suggestions on debugging this?

Thank you -- Tony

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

Re: Email sending cron job fails

Post by aimeos » 13 Dec 2016, 21:22

Have a look at your orders. Seems that at least one has no e-mail address in the mshop_order_base_address table.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

tonyl09
Posts: 8
Joined: 01 Jan 1970, 00:00

Re: Email sending cron job fails

Post by tonyl09 » 14 Dec 2016, 14:55

I looked in the mshop_order_base_address table, and found several older orders without email addresses. I added email addresses to those orders in that table.

I still got the error when trying to run the scheduler event. I then reduced the email types included in the cron job, and found that it was the Customer account emails that caused the failure.

Would those be in a different table?

Thank you -- Tony

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

Re: Email sending cron job fails

Post by aimeos » 14 Dec 2016, 16:36

They are offloaded to a queue and you can find the queue entries in the madmin_queue table.
The queue entries are removed as soon as they are processed, so you still may accept customer addresses without e-mail addresses in the checkout process.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply