Page 1 of 1

How to mail attachment file

Posted: Mon Aug 28, 2006 2:14 am
by umapathy
Dear All,

I have one problem,
i can mail to cc,to,subject,message
but i could not send with attachment file.
if any one known please post code

Regards
Umapathy

Posted: Mon Aug 28, 2006 2:25 am
by dibyendrah

Posted: Mon Aug 28, 2006 2:55 am
by Christopher
I would recommend that you use SwiftMailer or phpMailer instead of trying to write your own. It is not as easy as you think to create MIME emails that work for most recipients.

Posted: Mon Aug 28, 2006 8:51 am
by Chris Corbyn
Creating one is easy. Making sure it works on all servers and all clients... nightmare. Do as arborint says.