Email attachment in payment emails

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!
velo
Posts: 44
Joined: 20 Jun 2016, 06:58

Email attachment in payment emails

Post by velo » 23 Aug 2016, 09:19

Hi,

is it possible to attach a pdf to a payment email?

Thanks a lot for helping.

Regards,
Team velo

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

Re: Email attachment in payment emails

Post by aimeos » 25 Aug 2016, 10:54

Yes, you can use the addAttachement() method of the mail message object:
https://github.com/aimeos/aimeos-core/b ... e.php#L119

The mail message is available as "$this->mail()" in the e-mail templates:
https://github.com/aimeos/ai-client-htm ... d.php#L154

Here's a list of all view helpers:
https://aimeos.org/docs/Developers/Html ... iew_helper
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply