ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

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 1 year, 10 months ago.

  • Creator
    Topic
  • #57827

    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
  • #57828
    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?

    #57829

    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 :

    #57830
    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
ssossossosso