Page 1 of 1
Email attachment in payment emails
Posted: 23 Aug 2016, 09:19
by velo
Hi,
is it possible to attach a pdf to a payment email?
Thanks a lot for helping.
Regards,
Team velo
Re: Email attachment in payment emails
Posted: 25 Aug 2016, 10:54
by aimeos
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