OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions emails are not sent in case of the marketing list is based on custom entity

This topic contains 4 replies, has 3 voices, and was last updated by  Yevhen Shyshkin 5 years, 3 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
  • #37764

    esztet szalai
    Participant

    Hi,

    We created marketing list on system entity. In this case the emails were sent correctly (by ORO).
    Then we created marketing list on custom entity. In this case the emails are NOT sent.

    Why? Please advise.

    Thnaks
    Eszter

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #37772

    Andrey Yatsenko
    Moderator

    Hi Esztet,

    Please share the code of that custom entity, or confirm that you created it from the UI.
    The important part here is a contact information with an email, that marketing list entity should contain.
    As contact information marketing lists accept an email or a phone.
    In case your entity contains only phone number – you will be able to create a marketing list, but with no way to send an email.

    #37779

    esztet szalai
    Participant

    Hi Andrey!

    – Custom entity and fields were created from the UI (at entity management).

    – The custom entity is connected with Contact entity:
    — At contact entity we cretaed a ‘One to many’ field, the target entity is the custom entity
    — At the custom entity we reused the field

    – In the marketing list we have Primary e-mail, see:
    https://drive.google.com/file/d/1LKnF-PLcVlASkinv7cU_6auzAE56KNPl/view?usp=sharing
    So we use the CRM as you advised, but the emails are not sent

    Thanks,
    Eszter

    #37850

    esztet szalai
    Participant

    Hi Andrey!

    I look forward to your reply.
    Is there any solution, advise to my problem?

    Thanks
    Eszter

    #37897

    Yevhen Shyshkin
    Participant

    Hello, Eszter.

    Currently OroPlatform does not allow to select fields from the related entities in segments and marketing lists – they have to contain flat data only from the main entity. By looking at the screenshot you’ve shared I can guess that either you have some customization on your side or something is wrong with your installation.

    In general if you want to send data to contact emails you have to build a marketing list around the Contact entity and add restrictions using field conditions in Filters section. Field conditions allow you to work with the relations and introduce required filtering.

    Alternative solution – you may add listener that will copy Contact email address to your custom entity or introduce a virtual relation that will automatically get data from Contact entity. Each of these solutions require some coding though.

    Please, let me know if you still have some questions related to this topic.

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

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

Back to top