Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am managing an email newsletter that is distributed through Lotus Notes. At the bottom, I have 4 hotspot buttons for "Subscribe," "Unsubscribe," "Forward to a Colleague," and "Archives."

Subscribe and Unsubscribe use @MailSend to email me the sub/unsub request. However, I am getting a lot of people who click "Subscribe" even when they are already subscribed.

I'm looking for a way to hide the Subscribe button when the email sender is my newsletter email address.

share|improve this question

I can't think of anyway that you could hide the Subscribe button from some people unless maybe you have them in a public group and have it set to hide if they are in that group or something.

One easy thing you could do is to move the subscribe button to the end so it would be Unsubscribe, Forward, Archive, Subscribe or maybe put 'forward' as the first option.

Another thing you could do is above the buttons, put a line that says 'You are currently subscribed' on the emails or 'If you received this from 'your name', you are subscribed, if you receive this as a forward, click below to subscribe'.

share|improve this answer

You can use a hide-when formula on the paragraph containing the Subscribe button, however you need to understand that in Notes a paragraph includes everything on the same line unless you use a table, in which case the paragraph is limited to the table cell. So you could put your buttons in four cells of a table, and apply this hide-when formula to the subscribe button:

From="my newsletter address";  

Note that you will have to exactly match the address as it appears in the From header field.

Hide-when formulas are entered by positioning the cursor anywhere in the paragraph that you want hidden, and bringing up the Text properties box. If you're in Notes 8.x, you can do that by selecting Properties from the Text menu. (I don't recall the menu path on older versions, and I usually just use Ctrl-J as a keyboard shortcut.) Then select the second to last tab in the properties box, click on the checkbox labeled 'Hide paragraph if formula is true', and enter the formula in the box below that.

share|improve this answer
This gets me much closer to what I was looking for -- thank you. I have a subscribe and an unsubscribe button, so I tagged the unsub button: 'From="my newsletter address"; ' And the subscribe button: 'From!="my newsletter address"; ' If I send the newsletter from "my newsletter address," it hides the subscribe button. From "my personal address," it hides the unsubscribe button. Ideally, the Subscribe button would reappear if I receive the message from "my newsletter address" and FORWARD it to a 3rd party (now from "my personal address"). Any ideas on how to achieve this last step? – GirlPhoenix85 Aug 31 '12 at 3:24
If I'm interpreting you correctly, you want the subscribe button visible if the message comes from "my personal address" and only from your personal address. I.e., a subscribed newsletter recipient doesn't see it, and if a subscriber forwards the message to a third party, the 3rd party doesn't see it either. They only see it if they receive it from you. If that's correct, see my next comment. – rhsatrhs Aug 31 '12 at 13:33
It is often useful to think in terms of a "see-when formula" instead of a hide-when. That's because we very often express our requirements in terms of what we want to see, rather than what we want to hide. That's what you've done here for the subscribe button. A see-when formula is equivalent to putting a logical not around a hide-when formula. So in the case of the subscribe button, you want a recipient to see it if the message came from your personal address, therefore what you enter in the hide-when formula is !(From="my personal address") – rhsatrhs Aug 31 '12 at 13:35
I want the subscribe button visible when anyone forwards the email, but not when it is sent to the main list. Using the formulas I stated above, if I send the original from my newsletter address, recipients see Unsub, and don't see Subscribe. That's perfect. But, when they forward it, I need that behavior to reverse, so a third party sees Subscribe, not Unsubscribe. It may be that I need to use a more complex way of forwarding, since what seems to be happening is that the button code is not reprocessed when forwarded. I apologize for my lack of familiarity with Notes coding!! :-) – GirlPhoenix85 Sep 2 '12 at 21:45
Okay... If the behavior is correct when you send from the newsletter address and you want the opposite behavior when the message is forwarded, then I think it's fair to re-express that this way: you want the opposite behavior when the message is sent from any address except the newsletter address. I.e., the recipient always sees Subscribe or Unsubscribe, but never both. That would imply that the hide-when on the Unsubscribe button should be the opposite (i.e., logical not) of the hide-when on the subscribe button. So that would be: !(From="my newsletter address). – rhsatrhs Sep 3 '12 at 2:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .