ChrisRAoW / mautic-rss-to-email-bundle

Mautic plugin to send emails from RSS
103 stars 23 forks source link

Add contactfield value in url parameter ? #4

Closed leooxx closed 4 years ago

leooxx commented 6 years ago

Hello,

I'm using your plugin every month to send the last posts from my blog and it work's great. Thank you so much.

I want to send a personnalised rss content to my client. Can i add a mautic parameter in the URL ?

Something like that...

{feed url="https://mywebsite/file.rss"} + {contactfield=id} = {feed url="https://mywebsite/file.rss?clientId={contactfield=id}"}

Thank you for your reply, Léo

ChrisRAoW commented 6 years ago

HI Léo,

Thanks for you suggestion. It's certainly something I had in mind already, but there is 1 big concern for this: performance.

By making the RSS file personalised it needs to be requested and parsed for every mail sent. When you have a big list it will cause a high load on the server and and brute-forced fetch of rss files to the target server.

So that's why I didn't yet implemented it. But maybe will in the future.

Chris

leooxx commented 6 years ago

I thought the mail was generated for each sending for each user... as it contains other variables. So there are two levels of mail generation. The integration of RSS content and then the variables?

If the RSS is loaded only once... I understand. Thank you,

Léo

leooxx commented 6 years ago

If I send 1000 emails over several hours and I post an article in my feed the last emails are different from the first ones in mautic...

ChrisRAoW commented 6 years ago

mhhh, it shouldnt. Sending would otherwise take ages. Maybe it's fetching it for every batch. Will check it out.

ttencate commented 5 years ago

Isn't this already implemented? It seems to work for me.

ChrisRAoW commented 5 years ago

@ttencate It's already some time ago i worked on the plugin. But I could be that this was implemented by a pull request. Don't know anymore :-)