php email attachment

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Citizen
Forum Contributor
Posts: 300
Joined: Wed Jul 20, 2005 10:23 am

php email attachment

Post by Citizen »

I've searched the forums and the php.net stuff and can't find anything solid to help...

I already have a working script that I wrote that sends emails to a list of addresses from my database. How do you attach a file to the emails as well?

-Cit
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

My suggestion is to download Swiftmailer and use it. At the very least, look at Chris' implementation of file attachment handling.
Post Reply