FR

Email

Renders an email address clickable for quick access on all devices, while hiding the addresses from spambots.

Best practices

  • Avoid writing an email address in full.
  • Link the name, the division or the call to action instead.

Example

		
		    [Email email="Loremipsum@Loremipsum.ca"]Lorem ipsum[/Email]
		
	  
				
					<script>
	function getMailLink(user, domain, class_id, content) {
		var addr = user + "@" + domain;
		if (class_id) {
			class_id = ' class="' + class_id + '"';
		}

		document.write(
			'<a href="mailto:' + addr + '"' + class_id + '>' + content + '</a>'
		);
	}
	getMailLink("Loremipsum","Loremipsum.ca","","Lorem ipsum");
</script>
<a href="mailto:Loremipsum@Loremipsum.ca">Lorem ipsum</a>