I'm using class.phpmailer.php class for sending mails.I would like to know how to send user specified files as attachment .
I tried using file browse button to upload the file and specified that file as parameter to AddAttachment ().But server is not able to access the file in client machine.
Any solutions?
sendings attachments in mail
Moderator: General Moderators
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Re: sendings attachments in mail
Most of the denizens on this forum will recommend you Swift Mailer over phpmailer. See http://swiftmailer.org/docs/message-attachments