954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to send attachment file

In php mail() function, how can I send attachments? I didn't find parameter to do this. any help will be appreciated.

michael123
Junior Poster in Training
94 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 
MitkOK
Junior Poster
142 posts since Jul 2007
Reputation Points: 59
Solved Threads: 12
 

Is there attachment feature in standard php mail() function? I don't want to install additional application as I have bunch of files use mail(), I don't know if this new application will affect that.

michael123
Junior Poster in Training
94 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

This is easy to use and install ( only copy and paste file and include it in your script ) powerfull class, but you if want to write it by yourself you've got to play with the the headers -> http://www.hollowearth.co.uk/tech/ph...ttachments.php

MitkOK
Junior Poster
142 posts since Jul 2007
Reputation Points: 59
Solved Threads: 12
 

Hello, MitkOK :
Your specified link:
http://www.hollowearth.co.uk/tech/ph...ttachments.php
is expired. kindly check it & reply the solution if you know.

muhammadsajid
Newbie Poster
2 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
 
Hello, MitkOK : Your specified link: http://www.hollowearth.co.uk/tech/ph...ttachments.php is expired. kindly check it & reply the solution if you know.

check these following links, Hope it helps you http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php

http://www.geekology.co.za/blog/2009/06/sending-emails-with-attachments-using-php-mail-function/

saiprem
Posting Whiz in Training
210 posts since Feb 2010
Reputation Points: 16
Solved Threads: 28
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You