Copied to clipboard

Flag this post as spam?

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


  • Joey Kincer 51 posts 83 karma points
    Mar 09, 2012 @ 04:19
    Joey Kincer
    0

    E-mail Subscription To/CC/BCC Preferences?

    There's another issue I was wondering if this was intended, or something I'm overlooking...

    When a subscribed topic is posted to and an e-mail notification is sent out, it's showing all e-mails in the To field. The site we're working on is bound by some privacy restrictions, so I'd like to put our admin e-mail as the To and then BCC all the recipients of the e-mail notification so no e-mails are shown. Is this possible without having to dig into the source code?

  • Lee 1130 posts 3088 karma points
    Mar 09, 2012 @ 07:29
    Lee
    0

    Ahh balls, I didn't realise that and its wrong - No you'll have to grab the source, as this was something that was changed to try and make the mass emailing more efficeint!

  • Joey Kincer 51 posts 83 karma points
    Mar 09, 2012 @ 19:14
    Joey Kincer
    0

    No worries, I tacked on an extra boolean parameter for the multiple-recipient SendMail method in the Helpers.cs file. I didn't mess with the other SendMail methods since those just send to one person. Overall works great now, thanks.

    if (makeBCCRecipients) msg.To.Add(mailfrom);

    foreach (var email in mailto)
    {
    if (makeBCCRecipients) msg.Bcc.Add(email);
    else msg.To.Add(email);
    }
Please Sign in or register to post replies

Write your reply to:

Draft