Email and PHP
I have the problem with PHP and Email. I edited php.ini to send mail with attachment on local computer. But when i receive email, size of attachment file is zero.
Please help me.
(If possible, please send to firstname.lastname@example.org)
Thank you very much.
I suggest you use the PHPMailer class. It will handle al your e-mail desires and has the ability to use an SMTP server (which will definitely not give you any problems when using attachments). When you use it, I suggest you set back your php.ini settings to default again, you won't be needing PHP's mail() function (if you use SMTP server..)
Anyway, check it out yourself: http://phpmailer.sourceforge.net/