Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ [closed]
It’s not a very good practice to echo html code. Also you have errors with quotes. Correct way to do this would be: <a href=”https://wordpress.stackexchange.com/questions/106828/mailto:type%20email%20address%20here?subject=I%20wanted%20to%20share%20this%20post%20with%20you%20from%20<?php echo rawurlencode(get_bloginfo(“name’)); ?>&body=<?php echo rawurlencode(get_the_title()); ?>%20%20%3A%20%20<?php echo rawurlencode(get_the_excerpt()); ?>%20%20%2D%20%20%28%20<?php echo rawurlencode(get_permalink()); ?>%20%29″ title=”Email to a friend/colleague” target=”_blank”>Share via Email</a>