Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a WSS 3.0 Sharepoint site that is automatically displaying email addresses as mailto link. Ideally I want to prevent this from happening, this is a customised site and we will be forcing users to use the discussion area to send emails.

Is there anyway to turn this facility off? It appears to be site specific i.e. I can enter an email address in any text field and it displays as converted to a mailto link.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

OK, so I've basically cheated by doing a jQuery update to the page instead:-

$(function() {
    $("a[href^=mailto:]").each(function(){  
        var sEmailAddress = $(this).text();
        $(this).replaceWith(sEmailAddress);
    });
});

If anyone does know if the mailto link conversion can be disabled I'd be interested to know, but the work around does the business for now.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.