Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCRM OroCRM – How do I? Questions Programmatically send email from template

This topic contains 3 replies, has 2 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 2 years, 3 months ago.

  • Creator
    Topic
  • #28952

    KnutFr
    Participant

    Hi everyone !

    How do I send an email from OroCrm Email Template on a custom controller ?
    I would like to create a dynamic use case builder and I want to add the possibility to send an email from a simple Rest API.
    How can I instantiate an email object from a template & how can I send it from my custom code ?

    Thanks a lot,
    KnutFr

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #28953
    Yevhen Shyshkin
    Yevhen Shyshkin
    Participant

    Hello.

    Just to clarify this question – do you want to render a form inside a template, so email receiver should be able to submit it to CRM instance?

    #28954

    KnutFr
    Participant

    Hello,

    Not exactly. What I would like to do is to send an email from a custom controller, passing template name, contact and entity as parameters.

    For example :

    #28955
    Yevhen Shyshkin
    Yevhen Shyshkin
    Participant
Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
sso for www.magecore.comsso for oroinc.comsso for oroinc.desso for oroinc.frsso for marketplace.orocommerce.comsso for marketplace.orocrm.com