ssossossossosso

Forums

Forums OroPlatform OroPlatform – Programming Questions sending email with template

This topic contains 3 replies, has 2 voices, and was last updated by  Mike Kudelya 9 months ago.

  • Creator
    Topic
  • #28881

    adriwan_kenoby
    Participant

    I am a little confused about this feature. I follow the documentation https://www.orocrm.com/documentation/2.0/book/sending-emails but the email that is sended is always empty.

    For example I want to test it in a command :

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #28882

    Mike Kudelya
    Moderator

    Hi

    We may have inconsistencies in our documentation. Thank you for pointing out the issue.
    I suggest you change the template initialization to:

    #28883

    adriwan_kenoby
    Participant

    Thanks Mike,

    I have another question. Can I use all twig functionality in email template ?

    #28884

    Mike Kudelya
    Moderator

    I think yes, try to put {{ some_twig_function() }} to email template.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.