<cfscript>

	sendWelcomeEmail( "ben+demo@bennadel.com" );

	// ------------------------------------------------------------------------------- //
	// ------------------------------------------------------------------------------- //

	/**
	* I send the welcome email to the given user.
	* 
	* @userEmail I am the user receiving the email.
	*/
	public void function sendWelcomeEmail( required string userEmail ) {

		mail
			to = userEmail
			from = "ben@bennadel.com"
			subject = "Welcome to Foo.bar! We're so excited to have you"
			type = "html"
			{

			```
			<h1>
				Welcome to Foo.bar
			</h1>

			<p>
				We're so excited to have you join our online community. I think you find
				that we mostly talk about how awesome ColdFusion is; but, we also post a
				lot of cat memes as well :D
			</p>
			```
		}

	}

</cfscript>