Forum Discussion

ThomasNller-e77's avatar
ThomasNller-e77
Community Member
4 years ago

Send email button: change subject

Hi community,

I've got a quick question, maybe someone hast a clever solution:

I want to add a button to the end of a course that triggers an email with a specific subject and content. Seems straight forward, but somehow it doesn't work as intended. This is my approach:

I add the email address, subject and content to the "email field":

It opens an email, as intended, but adds the original Rise email subject (course name) to the end of the email:

Any idea how I can suppress that? Is it possible at all?

Thanks for your help and best regards,

Thomas

  • Rise also supports mailto links using the standard link function for text elements, and specifying the subject and body seems to work fine there. When I input the exact same link text into a button element it misbehaved exactly as you described, though. A case of inconsistent parsing, then.

    If you aren't wedded to using a button you could fake one by formatting a bit of link text to dress it up as one; maybe use a heading text element, add a background colour, centre it, etc. Probably the easiest workaround to get the result you're after.

    • ThomasNller-e77's avatar
      ThomasNller-e77
      Community Member

      Hey Sam, thanks for your reply. This was a real helpful workaround - thanks for that. 

      Though I would love to have the button, it will work with the link embedded in the text. 

  • Thank you for bringing this to our attention, Thomas! I'm seeing the same problem with button blocks in Rise. I'll get this behavior to my team to see how we can help. 

  • Hi there,
    I'm having the same issue where the subject title of the course is the subject title in the email. Ideally, I would like to pre-name the email or have it blank for the user to type their own.

    Was a solution found for this?

    Thanks in advance.

  • just put an "&" without the quote in the end and it will suppress the subject line from the email body

    • PaulMcKay-7b19e's avatar
      PaulMcKay-7b19e
      Community Member

      Hi Nishant,

      I've tried to do that, but the email still opens up with the course name in the subject title. Where does the "&" actually go?

  • example@example.com?subject=Site%20Access%20Request&body=Dear Team,%0D%0A%0D%0APlease grant me access to the XXXXXXXXXXX site%0D%0A%0D%0ABest,&

     

    The & is in the last in the above example and the email will look like this (I have used outlook as email agent )

     

    To: example@example.com

    Subject: Site Access Request

    Email Body: 

    Dear Team,

    Please grant me access to the XXXXXXXXXXX site

    Best,