Re: How to attach the files using PHP..



anu wrote:
Hi,

Thank You sir for your reply..
want to attach the files in mail.. using PHP..




Thank You,
Anu


Not easy. You need to set the email up as a multipart mime, with the correct headers, separators, etc.

Check out the phpmailer class. It makes things much easier.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: JavaScript, menu+php ?
    ... this menu) i want that the background of the cell ... Since when is navigation tabular data? ... Use the hash and attach it to the url. ... Offcourse, if you're building the page using PHP, nothing stops you to make ...
    (alt.html)
  • Re: Squirrelmail attachments problems
    ... >2) If I attach more than one file, the rest of files are correupted ... >when I download them. ... # Cause the PHP interpreter handle files with a .php extension. ... SetInputFilter PHP ...
    (comp.os.linux.misc)
  • Re: mail attachment via PHP
    ... Jan Bos wrote: ... > PHP supports the mailfunction, but does not tell me how to attach ... I've been using it for over a year now and it makes emailing with PHP really ... Why reinvent the wheel when these people have done such an excellent job. ...
    (alt.php)
  • Re: mail attachment via PHP
    ... > PHP supports the mailfunction, but does not tell me how to attach a file ... you have problems with sending messages with the mailfunction (for ... without needing to change your script code. ... Free ready to use OOP components written in PHP ...
    (alt.php)
  • Re: How to get the files names from the folder using PHP ..
    ... anu wrote: ... How to get the files names from the folder using PHP .. ... specific command .. ...
    (alt.php)