The PHP manual states that mail() returns a boolean. Question is, what does a false value represent? If mail() returns false, does this mean that the message was undeliverable due to a non-existent e-mail address? Or could it be due to something else, e.g., their mail server is down? Is there another error code that is returned (by reference)?
Next question: how do you include an attachment with mail()? For example, I often use the following statement:
mail($to, $subject, $message, $mailheader);
Can I simply add a fifth parameter that specifies where or what the attachment is? Must this be text only, or can images also be attached?
Thanks in advance.