When a topic has a lot of discussion (which in my list happens primarily via email), the subject lines for the posts end up looking like this....
SU!: Re: RE: RE: Re: Re: Re: Re: Re: October 2015 Out with Hostess Benefits in with Stampin' Rewards for Hostesses
Is there a way to strip off the extra RE:'s when the email comes in so there is just one?
I would think if you replaced "Re: Re: " with "Re: " that would reduce it to just one for the subject line.
I do a similar thing in the "Send Subscription Email" to strip off all SU!: tags in the subject line, before adding the SU!: tag at the beginning when it gets sent out. But I couldn't figure out how to ALSO strip off all but one of the Re:'s in the same place because I only want an RE: when it's a reply email and I don't want to strip off all of them. So I thought maybe doing it on the incoming side of the email would work.
We tried to remove the "Re:"'s and SU!:'s when sending out the emails, but that removed ALL the RE:'s (because it was in the same statement and we looked for all "Re" and all "SU!" and replaced both with ""). My members didn't like that because they couldn't tell what messages were new versus replies. So we changed it to just remove the SU!'s. If you can fix it in that same place, that would be great. But if not, the idea I have now is to remove the "Re's" from the subject line as the messages come in and leave it so the SU!'s are removed when the messages are sent out.
This works for the display in the forum, but the emails are still coming across with multiple Re:'s. Can we permanently update the "Subject" so that the Re's are removed for both the forum & the emails?
I reread this. Remember most of my members participate by using subscriptions emails & replying to those emails. So correcting it on the reply form online wouldn't work. The place it should be corrected is when the email comes in or goes out - removing any extra Re's.
I think this got lost in the shuffle of responses...
The correction you made fixed the display in the forum. However, what I need fixed is the actual emails that are sent out to subscribers.
Currently in send_subscription_email we remove any extra SU!:'s. (Regex replaces all "SU!: " with "")
Previously we tried to also remove extra "Re:"'s in the same statement (replacing "Re: " with "", but then we didn't have ANY Re:'s if it was a reply which my users didn't like. So we removed it.
Is there a way to make a Regex statement that will do both the replace all "SU!: " with "" and also replace all "Re: Re:" with "Re:"? (This way one Re: will remain if it's a reply). I couldn't figure out how to do that since there are two different replacement strings.
If that's difficult, an alternative would be to change the subject line on the incoming emails to remove any duplicate Re:'s so it would then be correct in the forum itself and wouldn't be a problem when the emails are sent out to subscribers.