Hanling Email Attachments

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
mahi130
Forum Newbie
Posts: 7
Joined: Tue Mar 08, 2011 2:19 am

Hanling Email Attachments

Post by mahi130 »

Im working on a php based email client.Everything works fine till sending email with an attachment.Iam getting the message body and attachment name in receiver side.But iam not able to download the attachment file to a local directory of receiver's computer.Do anyone share idea or code on how to acheive this.Any hely will be thankful........
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Hanling Email Attachments

Post by requinix »

You can't download something to a user's computer. They have to choose to do that themselves and they control where it goes.
The most you can do is offer a download prompt. Is your question about doing that? Or something else?
Post Reply