does the php mail() need a database connection to function?