Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rody van Sambeek 71 posts 217 karma points
    Apr 05, 2012 @ 16:59
    Rody van Sambeek
    0

    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/

  • Markus Johansson 1701 posts 4879 karma points c-trib
    Apr 08, 2012 @ 14:35
    Markus Johansson
    0

    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

  • Rody van Sambeek 71 posts 217 karma points
    Apr 09, 2012 @ 10:37
    Rody van Sambeek
    0

    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?

  • Markus Johansson 1701 posts 4879 karma points c-trib
    Apr 09, 2012 @ 13:33
    Markus Johansson
    0

    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?

  • Rody van Sambeek 71 posts 217 karma points
    Apr 09, 2012 @ 13:34
    Rody van Sambeek
    0

    For my setup several unique installations will be sufficient.

  • 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.

Please Sign in or register to post replies