Skip to content

Instantly share code, notes, and snippets.

@toonsend
Created January 11, 2011 17:34
Show Gist options
  • Save toonsend/774770 to your computer and use it in GitHub Desktop.
Save toonsend/774770 to your computer and use it in GitHub Desktop.
case dict:find(send_welcome_email,UserParams) of
{ok, EmailType} ->
case Realm of
<<"cheetah">> ->
EmailParams = param_dict:from_proplist([{email, Email},{ firstname, FirstName},{lastname, LastName}]),
cheetah_sender_module:send_email(CallContext,EmailParams);
_ -> noop
end
_ -> noop
end,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment