src/sap.m/src/sap/m/library.js
function(sEmail, sSubject, sBody, sCC, sBCC) {
				var aParams = [],
					sURL = "mailto:",
					encode = encodeURIComponent;

				// Within mailto URLs, the characters "?", "=", "&" are reserved
				isValidString(sEmail) && (sURL += encode(jQuery.trim(sEmail)));
				isValidString(sSubject) && aParams.push("subject=" + encode(sSubject));
				isValidString(sBody) && aParams.push("body=" + formatMessage(sBody));
				isValidString(sBCC) && aParams.push("bcc=" + encode(jQuery.trim(sBCC)));
				isValidString(sCC) && aParams.push("cc=" + encode(jQuery.trim(sCC)));

				if (aParams.length) {
					sURL += "?" + aParams.join("&");
				}
				return sURL;
			}
function(sEmail, sSubject, sBody, sCC, sBCC) {
				var aParams = [],
					sURL = "mailto:",
					encode = encodeURIComponent;

				// Within mailto URLs, the characters "?", "=", "&" are reserved
				isValidString(sEmail) && (sURL += encode(jQuery.trim(sEmail)));
				isValidString(sSubject) && aParams.push("subject=" + encode(sSubject));
				isValidString(sBody) && aParams.push("body=" + formatMessage(sBody));
				isValidString(sBCC) && aParams.push("bcc=" + encode(jQuery.trim(sBCC)));
				isValidString(sCC) && aParams.push("cc=" + encode(jQuery.trim(sCC)));

				if (aParams.length) {
					sURL += "?" + aParams.join("&");
				}
				return sURL;
			}
function ( sEmail , sSubject , sBody , sCC , sBCC ) { var aParams = [ ] , sURL = "mailto:" , encode = encodeURIComponent ; // Within mailto URLs, the characters "?", "=", "&" are reserved isValidString ( sEmail ) && ( sURL += encode ( jQuery . trim ( sEmail ) ) ) ; isValidString ( sSubject ) && aParams . push ( "subject=" + encode ( sSubject ) ) ; isValidString ( sBody ) && aParams . push ( "body=" + formatMessage ( sBody ) ) ; isValidString ( sBCC ) && aParams . push ( "bcc=" + encode ( jQuery . trim ( sBCC ) ) ) ; isValidString ( sCC ) && aParams . push ( "cc=" + encode ( jQuery . trim ( sCC ) ) ) ; if ( aParams . length ) { sURL += "?" + aParams . join ( "&" ) ; } return sURL ; }
Builds Email URI from given parameter.
Trims spaces from email addresses.

@param {string} [sEmail] Destination email address
@param {string} [sSubject] Subject of the email address
@param {string} [sBody] Default message text
@param {string} [sCC] Carbon Copy email address
@param {string} [sBCC] Blind carbon copy email address
@returns {string} Email URI using the <code>mailto:</code> scheme
@public
Builds Email URI from given parameter . Trims spaces from email addresses .