OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums 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 7 years, 9 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • 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
    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
    Participant
Viewing 3 replies - 1 through 3 (of 3 total)

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top