Is it possible to add some custom header to the SMTP server? This way I can use the categories in Sendgrid to implement some measuring of different installations:
Is this somerthing that would require you to hook in to the email-creation process? At the moment there is no good way of doing this the only thing you can control is the content of the message, not the headers. Maybe this is something that we should enable. How would you use it? For tracking? Could you discribe a little more want you need?
Yes, we send mail using Sendgrid, it's a great service to send mass smtp e-mails. However, we do this for a lot of clients. To be able to view which client sent out how many e-mails etc, we use the sendgrid "categories". This way we can see in the statistics which category sent how many e-mails, etc.
To implement this, we just add an extra header to the MailMessage. For instance:
MailMessage msg = new MailMessage.... msg.Headers.Add("X-SMTPAPI", "{'category': 'Category Name'}"; smtp.send(msg).....
This way the system tracks the e-mail by the category.
Headers are just a key value combination, so maybe it's an idea to add an extra optional configuration setting for any extra headers?
Soulds like something that we could include. Either as a extentionpoint or as some kind of configuration. Are you planing to use sereral uniqe installations of Umbraco with different domian or dose the Newsletter Studio have to handle different category values inside the same instance?
Extra SMTP header
Is it possible to add some custom header to the SMTP server? This way I can use the categories in Sendgrid to implement some measuring of different installations:
http://docs.sendgrid.com/documentation/delivery-metrics/categories/
Hi!
Is this somerthing that would require you to hook in to the email-creation process? At the moment there is no good way of doing this the only thing you can control is the content of the message, not the headers. Maybe this is something that we should enable. How would you use it? For tracking? Could you discribe a little more want you need?
// Markus
Yes, we send mail using Sendgrid, it's a great service to send mass smtp e-mails. However, we do this for a lot of clients. To be able to view which client sent out how many e-mails etc, we use the sendgrid "categories". This way we can see in the statistics which category sent how many e-mails, etc.
To implement this, we just add an extra header to the MailMessage. For instance:
This way the system tracks the e-mail by the category.
Headers are just a key value combination, so maybe it's an idea to add an extra optional configuration setting for any extra headers?
I see!
Soulds like something that we could include. Either as a extentionpoint or as some kind of configuration. Are you planing to use sereral uniqe installations of Umbraco with different domian or dose the Newsletter Studio have to handle different category values inside the same instance?
For my setup several unique installations will be sufficient.
is working on a reply...