Skip to content

Why is [Email] the only case-sensitive field name?

edited April 2013 in Troubleshooting

I just installed Sendy, and am sending test emails. But I've noticed that when embedding a field name into an email, the [Email] field is case sensitive. If I use [email] it doesn't work (it just includes exactly "[email]" in the message), but if I use lower case versions of any other field names, it works fine.

Comments

  • Hi Steve,

    The [Email] tag uses direct match in the code to replace it with an email address unlike other tags.

    Thanks.

    Ben

  • Thx, Ben. For the benefit of others who might find this thread in a search, I've also learned that custom fields are case-sensitive in the Subject field, but not in the message body.

    Bottom line: the best approach to yield predictable results is for users to treat all field names (including custom ones) as if they were case-sensitive.

    Keep up the great work, Ben.

  • Thanks Steve. :)

This discussion has been closed.