Copied to clipboard

Flag this post as spam?

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

  • Hristina 2 posts 22 karma points
    Nov 16, 2013 @ 16:24

    How can I change mail subject?

    I am trying to add a dropdown list from where user to be able to choose subject. I don't know how to get selected option.. Can anyone help me? 

    Thanks in advance :)))

  • Ali Sheikh Taheri 470 posts 1647 karma points c-trib
    Nov 17, 2013 @ 00:42
    Ali Sheikh Taheri

    Hi Hristina,

    Welcome to Umbraco Forum.

    I believe you can either create a parameter for your macro with the alias of MailSubjectCopyToSender or MailSubject or you can change it in line :

    272: MailSubject = GetParamValue(parameter.MailSubject) ?? "Contact mail";
    275: MailSubjectCopyToSender = GetParamValue(parameter.MailSubjectCopyToSender) ?? "Copy of contact mail";



  • Hristina 2 posts 22 karma points
    Nov 17, 2013 @ 09:11

    Hi Ali,

    thank you for reply!

    But my task is to create a dropdown with list of subjects and the selected one from the user to become the real subject of the email.


Please Sign in or register to post replies

Write your reply to: