Note: There's also a function for quoted-printable encoding in the comments for the
mail()
function, but it also does not take into account line-length requirements.The built-in
mail()
function appears to be susceptible to manipulation by user-submitted data for the purposes of SPAM or other causes (see the comments for the mail()
function). While this isn't a big concern with IERI it's something that needs to be kept in mind if I plan on using this function in the future. I found some information that will provde useful in weeding out SPAM hacks such as detecting newline characters and e-mail header text.Unfortunately the e-mail functionality I've developed based on
mail()
and other functions is pretty limited in scope. The PEAR project appears to have a fairly full-featured mail package. I don't think it will be necessary to install for use with IERI, however, as e-mail is not the core purpose of the utility. Unless additional functionality needs are required down the line I'll probably stick with what I've developed so far.