Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi.
Is there a way to set custom headers in the newsletter?
Hi!
Without knowing what kind of header you are trying to set I think you should be able to do it using a render task.
Have a look here:
https://www.newsletterstudio.org/help/develop-with-newsletter-studio/control-content-with-render-tasks/
Hi Markus.
Thanks for answering. It's exactly what i need in order to make a custom mailmessage header.
public class AddCustomMailHeaders : RenderTask { ..... public override void ProcessUniqItem(RenderResult renderResult, RenderTaskUniqItemParameters parameters) { parameters.MailMessage.Headers.Add("Custom", "Header"); } }
Great news!
Just let me know if you have any other questions or needs =D
// m
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
How to set custom headers newsletter?
Hi.
Is there a way to set custom headers in the newsletter?
Hi!
Without knowing what kind of header you are trying to set I think you should be able to do it using a render task.
Have a look here:
https://www.newsletterstudio.org/help/develop-with-newsletter-studio/control-content-with-render-tasks/
Hi Markus.
Thanks for answering. It's exactly what i need in order to make a custom mailmessage header.
Great news!
Just let me know if you have any other questions or needs =D
// m
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.