Closed Thread Icon

Topic awaiting preservation: mail attachments (Page 1 of 1) Pages that link to <a href="" title="Pages that link to Topic awaiting preservation: mail attachments (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: mail attachments <span class="small">(Page 1 of 1)</span>\

Bipolar (III) Inmate

Insane since: May 2004

posted posted 10-28-2005 13:38

does anybody know about attaching a file to an outgoing mail, from a mail() command

Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 10-28-2005 17:26

The basic technique is actually a bit complicated but documented on the php mail site.

Mail on php is one of those things that really benefits from using a wrapper class like phpmailer to make things easier.

.:[ Never resist a perfect moment ]:.

Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 10-28-2005 17:38

You could also have a look at mail packages on PEAR ( PHP Extension and Application Repository )

« BackwardsOnwards »

Show Forum Drop Down Menu