Hey everyone,
I'm just starting to dabble around with MIME mail and used the following article on PHP Builder to generate an email with an attachment:
http://www.phpbuilder.com/columns/kartic20000807.php3?feedback=Message+Queued+For+Approval
The script works beautifully until I get to the php mail() function as written in the article code.
[COLOR="Red"]return mail($this->to, $this->subject, " ", $email);[/COLOR]
$email being the mime version of the email message.
If I change the script to read:
return mail($this->to, $this->subject, $email, $this->from);
an email will be sent but of course this simply regurgitates the MIME code in the text of the email instead of executing the code to attach an image.
Any thoughts??
Thanks!!!